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>
27 #include <geos/geom/Point.h>
29 #include <geos/inline.h>
37 class CoordinateArraySequence;
46 #pragma warning(disable:4250)
91 std::unique_ptr<Geometry>
94 return std::unique_ptr<Geometry>(
new MultiPoint(*
this));
97 std::unique_ptr<Geometry>
131 const Coordinate* getCoordinateN(
size_t n)
const;
134 getSortIndex()
const override
136 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:54
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:65
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:92
const Point * getGeometryN(std::size_t n) const override
Returns a pointer to the nth Geometry in this collection.
std::unique_ptr< Geometry > reverse() const override
Definition: MultiPoint.h:98
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26