21 #ifndef GEOS_GEOS_MULTIPOINT_H
22 #define GEOS_GEOS_MULTIPOINT_H
24 #include <geos/export.h>
25 #include <geos/geom/GeometryCollection.h>
26 #include <geos/geom/Dimension.h>
28 #include <geos/inline.h>
36 class CoordinateArraySequence;
45 #pragma warning(disable:4250)
88 std::unique_ptr<Geometry>
91 return std::unique_ptr<Geometry>(
new MultiPoint(*
this));
94 std::unique_ptr<Geometry>
128 const Coordinate* getCoordinateN(
size_t n)
const;
131 getSortIndex()
const override
133 return SORTINDEX_MULTIPOINT;
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
DimensionType
Definition: Dimension.h:31
@ P
Dimension value of a point (0).
Definition: Dimension.h:42
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:55
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Definition: MultiPoint.h:53
bool equalsExact(const Geometry *other, double tolerance=0) const override
Returns true iff the two Geometrys are of the same type and their vertices corresponding by index are...
MultiPoint(std::vector< Geometry * > *newPoints, const GeometryFactory *newFactory)
Constructs a MultiPoint.
GeometryTypeId getGeometryTypeId() const override
Return an integer representation of this Geometry type.
std::unique_ptr< Geometry > getBoundary() const override
Gets the boundary of this geometry.
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiPoint.h:64
std::string getGeometryType() const override
Return a string representation of this Geometry type.
Dimension::DimensionType getDimension() const override
Returns point dimension (0)
int getBoundaryDimension() const override
Returns Dimension::False (Point has no boundary)
std::unique_ptr< Geometry > clone() const override
Definition: MultiPoint.h:89
std::unique_ptr< Geometry > reverse() const override
Definition: MultiPoint.h:95
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25