21 #ifndef GEOS_GEOS_MULTIPOLYGON_H 22 #define GEOS_GEOS_MULTIPOLYGON_H 37 class CoordinateArraySequence;
48 #pragma warning(disable:4250) // T1 inherits T2 via dominance 74 int getBoundaryDimension()
const override;
82 std::unique_ptr<Geometry> getBoundary()
const override;
84 const Polygon* getGeometryN(std::size_t n)
const override;
86 std::string getGeometryType()
const override;
90 bool equalsExact(
const Geometry* other,
double tolerance = 0)
const override;
92 std::unique_ptr<Geometry> clone()
const override;
94 std::unique_ptr<Geometry> reverse()
const override;
121 MultiPolygon(std::vector<std::unique_ptr<Polygon>> && newPolys,
124 MultiPolygon(std::vector<std::unique_ptr<Geometry>> && newPolys,
145 # include "geos/geom/MultiPolygon.inl" 148 #endif // ndef GEOS_GEOS_MULTIPOLYGON_H
int getSortIndex() const override
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
GeometryTypeId
Geometry types.
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Represents a linear polygon, which may include holes.
Dimension value of a surface (2).
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Represents a collection of heterogeneous Geometry objects.
Basic namespace for all GEOS functionalities.