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) // T1 inherits T2 via dominance 70 int getBoundaryDimension()
const override;
81 std::unique_ptr<Geometry> getBoundary()
const override;
83 const Point* getGeometryN(std::size_t n)
const override;
85 std::string getGeometryType()
const override;
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());
119 MultiPoint(std::vector<Geometry*>* newPoints,
const GeometryFactory* newFactory);
121 MultiPoint(std::vector<std::unique_ptr<Point>> && newPoints,
const GeometryFactory& newFactory);
123 MultiPoint(std::vector<std::unique_ptr<Geometry>> && newPoints,
const GeometryFactory& newFactory);
125 MultiPoint(
const MultiPoint& mp): GeometryCollection(mp) {}
131 const Coordinate* getCoordinateN(std::size_t n)
const;
134 getSortIndex()
const override 136 return SORTINDEX_MULTIPOINT;
148 #endif // ndef GEOS_GEOS_MULTIPOINT_H Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiPoint.h:65
MultiPoint * reverseImpl() const override
Make a geometry with coordinates in reverse order.
Definition: MultiPoint.h:129
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:55
Basic namespace for all GEOS functionalities.
Definition: Angle.h:26
Definition: MultiPoint.h:54
Dimension value of a point (0).
Definition: Dimension.h:42
MultiPoint * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: MultiPoint.h:127
DimensionType
Definition: Dimension.h:31