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)
62 return d == Dimension::P;
66 return d == Dimension::P;
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
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
MultiPoint * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition MultiPoint.h:125
bool hasCurvedComponents() const override
Returns whether the Geometry contains curved components.
Definition MultiPoint.h:137
std::unique_ptr< Geometry > getBoundary() const override
Gets the boundary of this geometry.
GeometryTypeId getGeometryTypeId() const override
Return an integer representation of this Geometry type.
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.
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)
MultiPoint(std::vector< std::unique_ptr< Point > > &&newPoints, const GeometryFactory &newFactory)
Constructs a MultiPoint.
MultiPoint * reverseImpl() const override
Make a geometry with coordinates in reverse order.
Definition MultiPoint.h:127
const Point * getGeometryN(std::size_t n) const override
Returns a pointer to the nth Geometry in this collection.
GeometryTypeId
Geometry types.
Definition Geometry.h:74
Basic namespace for all GEOS functionalities.
Definition geos.h:39