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>
28 #include <geos/inline.h>
36 class CoordinateArraySequence;
45 #pragma warning(disable:4250) // T1 inherits T2 via dominance
88 std::unique_ptr<Geometry>
91 return std::unique_ptr<Geometry>(
new MultiPoint(*
this));
94 std::unique_ptr<Geometry>
128 const Coordinate* getCoordinateN(
size_t n)
const;
131 getSortIndex()
const override
133 return SORTINDEX_MULTIPOINT;
145 #endif // ndef GEOS_GEOS_MULTIPOINT_H
std::unique_ptr< Geometry > clone() const override
Definition: MultiPoint.h:89
Definition: MultiPoint.h:53
int getBoundaryDimension() const override
Returns Dimension::False (Point has no boundary)
Dimension::DimensionType getDimension() const override
Returns point dimension (0)
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiPoint.h:64
DimensionType
Definition: Dimension.h:67
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:84
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
std::unique_ptr< Geometry > getBoundary() const override
Gets the boundary of this geometry.
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:55
MultiPoint(std::vector< Geometry * > *newPoints, const GeometryFactory *newFactory)
Constructs a MultiPoint.
std::string getGeometryType() const override
Return a string representation of this Geometry type.
GeometryTypeId getGeometryTypeId() const override
Return an integer representation of this Geometry type.
std::unique_ptr< Geometry > reverse() const override
Definition: MultiPoint.h:95
@ P
Dimension value of a point (0).
Definition: Dimension.h:90
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
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...
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68