23 #include <geos/export.h> 26 #include <geos/geom/GeometryCollection.h> 27 #include <geos/geom/Polygon.h> 28 #include <geos/geom/Dimension.h> 29 #include <geos/geom/MultiPolygon.h> 30 #include <geos/geom/GeometryCollection.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 std::unique_ptr<MultiPolygon> clone()
const 92 return std::unique_ptr<MultiPolygon>(cloneImpl());
95 std::unique_ptr<MultiPolygon> reverse()
const {
return std::unique_ptr<MultiPolygon>(reverseImpl()); }
120 MultiPolygon(std::vector<Geometry*>* newPolys,
const GeometryFactory* newFactory);
122 MultiPolygon(std::vector<std::unique_ptr<Polygon>> && newPolys,
123 const GeometryFactory& newFactory);
125 MultiPolygon(std::vector<std::unique_ptr<Geometry>> && newPolys,
126 const GeometryFactory& newFactory);
128 MultiPolygon(
const MultiPolygon& mp)
129 : GeometryCollection(mp)
137 getSortIndex()
const override 139 return SORTINDEX_MULTIPOLYGON;
Definition: MultiPolygon.h:59
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiPolygon.h:69
GeometryTypeId
Geometry types.
Definition: Geometry.h:73
Represents a linear polygon, which may include holes.
Definition: Polygon.h:61
Dimension value of a surface (2).
Definition: Dimension.h:46
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:66
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:52
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
MultiPolygon * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: MultiPolygon.h:132
DimensionType
Definition: Dimension.h:29