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>
49#pragma warning(disable:4250)
60class GEOS_DLL
MultiPolygon:
public GeometryCollection,
public Polygonal
64 friend class GeometryFactory;
115 MultiPolygon(std::vector<Geometry *> *newPolys,
const GeometryFactory *newFactory);
128# include "geos/geom/MultiPolygon.inl"
The default implementation of CoordinateSequence.
Definition CoordinateArraySequence.h:37
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
DimensionType
Definition Dimension.h:31
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
Definition MultiPoint.h:56
std::string getGeometryType() const
Return a string representation of this Geometry type.
MultiPolygon(std::vector< Geometry * > *newPolys, const GeometryFactory *newFactory)
Construct a MultiPolygon.
Geometry * getBoundary() const
Computes the boundary of this geometry.
bool equalsExact(const Geometry *other, double tolerance=0) const
Returns true if the two Geometrys are exactly equal, up to a specified tolerance.
Dimension::DimensionType getDimension() const
Returns surface dimension (2).
virtual GeometryTypeId getGeometryTypeId() const
Return an integer representation of this Geometry type.
bool isSimple() const
Returns false if the Geometry not simple.
int getBoundaryDimension() const
Returns 1 (MultiPolygon boundary is MultiLineString).
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
GeometryTypeId
Geometry types.
Definition Geometry.h:65
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25