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
53 class GEOS_DLL MultiPoint:
public GeometryCollection {
57 friend class GeometryFactory;
59 ~MultiPoint()
override =
default;
69 int getBoundaryDimension()
const override;
80 std::unique_ptr<Geometry> getBoundary()
const override;
82 std::string getGeometryType()
const override;
86 bool equalsExact(
const Geometry* other,
double tolerance = 0)
const override;
88 std::unique_ptr<Geometry>
89 clone()
const override
91 return std::unique_ptr<Geometry>(
new MultiPoint(*
this));
94 std::unique_ptr<Geometry>
95 reverse()
const override
128 const Coordinate* getCoordinateN(
size_t n)
const;
131 getSortIndex()
const override
133 return SORTINDEX_MULTIPOINT;
145 #endif // ndef GEOS_GEOS_MULTIPOINT_H