23#include <geos/export.h>
24#include <geos/geom/GeometryCollection.h>
25#include <geos/geom/Dimension.h>
26#include <geos/geom/Point.h>
34class CoordinateArraySequence;
43#pragma warning(disable:4250)
86 std::unique_ptr<MultiPoint> clone()
const
88 return std::unique_ptr<MultiPoint>(cloneImpl());
91 std::unique_ptr<MultiPoint> reverse()
const
93 return std::unique_ptr<MultiPoint>(reverseImpl());
128 const Coordinate* getCoordinateN(std::size_t n)
const;
131 getSortIndex()
const override
133 return SORTINDEX_MULTIPOINT;
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
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:52
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:66
Definition: MultiPoint.h:51
MultiPoint * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: MultiPoint.h:124
MultiPoint(std::vector< Geometry * > *newPoints, const GeometryFactory *newFactory)
Constructs a MultiPoint.
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:62
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)
MultiPoint * reverseImpl() const override
Make a geometry with coordinates in reverse order.
Definition: MultiPoint.h:126
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:73
Basic namespace for all GEOS functionalities.
Definition: geos.h:39