23 #include <geos/export.h>
24 #include <geos/geom/GeometryCollection.h>
25 #include <geos/geom/Dimension.h>
26 #include <geos/geom/Point.h>
42 #pragma warning(disable:4250)
89 std::unique_ptr<MultiPoint> clone()
const
91 return std::unique_ptr<MultiPoint>(cloneImpl());
94 std::unique_ptr<MultiPoint> reverse()
const
96 return std::unique_ptr<MultiPoint>(reverseImpl());
129 const CoordinateXY* getCoordinateN(std::size_t n)
const;
132 getSortIndex()
const override
134 return SORTINDEX_MULTIPOINT;
DimensionType
Definition: Dimension.h:29
@ P
Dimension value of a point (0).
Definition: Dimension.h:40
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:51
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:70
Definition: MultiPoint.h:50
bool hasCurvedComponents() const override
Returns whether the Geometry contains curved components.
Definition: MultiPoint.h:137
MultiPoint * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: MultiPoint.h:125
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:61
std::string getGeometryType() const override
Return a string representation of this Geometry type.
MultiPoint * reverseImpl() const override
Make a geometry with coordinates in reverse order.
Definition: MultiPoint.h:127
bool hasDimension(Dimension::DimensionType d) const override
Checks whether any component of this geometry has dimension d.
Definition: MultiPoint.h:65
Dimension::DimensionType getDimension() const override
Returns point dimension (0)
int getBoundaryDimension() const override
Returns Dimension::False (Point has no boundary)
const Point * getGeometryN(std::size_t n) const override
Returns a pointer to the nth Geometry in this collection.
MultiPoint(std::vector< std::unique_ptr< Point >> &&newPoints, const GeometryFactory &newFactory)
Constructs a MultiPoint.
GeometryTypeId
Geometry types.
Definition: Geometry.h:74
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25