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 bool equalsExact(
const Geometry* other,
double tolerance = 0)
const override;
91 std::unique_ptr<Geometry>
94 return std::unique_ptr<Geometry>(
new MultiPoint(*
this));
97 std::unique_ptr<Geometry>
131 const Coordinate* getCoordinateN(
size_t n)
const;
134 getSortIndex()
const override
136 return SORTINDEX_MULTIPOINT;
148 #endif // ndef GEOS_GEOS_MULTIPOINT_H
std::unique_ptr< Geometry > clone() const override
Definition: MultiPoint.h:92
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiPoint.h:65
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
Definition: MultiPoint.h:54
Dimension value of a point (0).
Definition: Dimension.h:42
std::unique_ptr< Geometry > reverse() const override
Definition: MultiPoint.h:98
DimensionType
Definition: Dimension.h:31