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> 47 #pragma warning(disable:4250) // T1 inherits T2 via dominance 77 int getBoundaryDimension()
const override;
85 std::unique_ptr<Geometry> getBoundary()
const override;
87 const Polygon* getGeometryN(std::size_t n)
const override;
89 std::string getGeometryType()
const override;
93 std::unique_ptr<MultiPolygon> clone()
const 95 return std::unique_ptr<MultiPolygon>(cloneImpl());
98 std::unique_ptr<MultiPolygon> reverse()
const {
return std::unique_ptr<MultiPolygon>(reverseImpl()); }
123 MultiPolygon(std::vector<std::unique_ptr<Polygon>> && newPolys,
124 const GeometryFactory& newFactory);
126 MultiPolygon(std::vector<std::unique_ptr<Geometry>> && newPolys,
127 const GeometryFactory& newFactory);
129 MultiPolygon(
const MultiPolygon& mp)
130 : GeometryCollection(mp)
138 getSortIndex()
const override 140 return SORTINDEX_MULTIPOLYGON;
Definition: MultiPolygon.h:58
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiPolygon.h:72
GeometryTypeId
Geometry types.
Definition: Geometry.h:73
Represents a linear polygon, which may include holes.
Definition: Polygon.h:60
Dimension value of a surface (2).
Definition: Dimension.h:46
bool hasDimension(Dimension::DimensionType d) const override
Checks whether any component of this geometry has dimension d.
Definition: MultiPolygon.h:68
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:65
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:51
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
MultiPolygon * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: MultiPolygon.h:133
DimensionType
Definition: Dimension.h:29