21 #ifndef GEOS_GEOS_MULTIPOLYGON_H
22 #define GEOS_GEOS_MULTIPOLYGON_H
24 #include <geos/export.h>
27 #include <geos/platform.h>
28 #include <geos/geom/GeometryCollection.h>
29 #include <geos/geom/Polygonal.h>
30 #include <geos/geom/Dimension.h>
32 #include <geos/inline.h>
38 class CoordinateArraySequence;
49 #pragma warning(disable:4250) // T1 inherits T2 via dominance
130 # include "geos/geom/MultiPolygon.inl"
133 #endif // ndef GEOS_GEOS_MULTIPOLYGON_H
int getBoundaryDimension() const override
Returns 1 (MultiPolygon boundary is MultiLineString)
MultiPolygon(std::vector< Geometry * > *newPolys, const GeometryFactory *newFactory)
Construct a MultiPolygon.
Definition: Polygonal.h:38
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Geometry * reverse() const override
DimensionType
Definition: Dimension.h:31
bool isSimple() const override
Returns false if the Geometry not simple.
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:177
std::string getGeometryType() const override
Return a string representation of this Geometry type.
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:56
Geometry * getBoundary() const override
Computes the boundary of this geometry.
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
GeometryTypeId getGeometryTypeId() const override
Return an integer representation of this Geometry type.
Models a collection of Polygons.
Definition: MultiPolygon.h:61
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...
Dimension::DimensionType getDimension() const override
Returns surface dimension (2)
Geometry * clone() const override