Class SFCGAL::MultiPolygon#
ClassList > SFCGAL > MultiPolygon
#include <MultiPolygon.h>
Inherits the following classes: SFCGAL::GeometryCollection
Public Types inherited from SFCGAL::GeometryCollection#
See SFCGAL::GeometryCollection
Type | Name |
---|---|
typedef boost::ptr_vector< Geometry >::const_iterator | const_iterator |
typedef boost::ptr_vector< Geometry >::iterator | iterator |
Public Functions#
Type | Name |
---|---|
MultiPolygon () |
|
MultiPolygon (MultiPolygon const & other) |
|
void | accept (GeometryVisitor & visitor) override |
void | accept (ConstGeometryVisitor & visitor) override const |
MultiPolygon * | clone () override const |
std::string | geometryType () override const |
GeometryType | geometryTypeId () override const |
MultiPolygon & | operator= (MultiPolygon other) |
Polygon & | polygonN (const size_t & n) |
const Polygon & | polygonN (const size_t & n) const |
void | serialize (Archive & ar, const unsigned int) |
virtual | ~MultiPolygon () |
Public Functions inherited from SFCGAL::GeometryCollection#
See SFCGAL::GeometryCollection
Type | Name |
---|---|
GeometryCollection () |
|
GeometryCollection (const GeometryCollection & other) |
|
void | accept (GeometryVisitor & visitor) override |
void | accept (ConstGeometryVisitor & visitor) override const |
void | addGeometry (Geometry * geometry) |
void | addGeometry (Geometry const & geometry) |
iterator | begin () |
const_iterator | begin () const |
GeometryCollection * | clone () override const |
int | coordinateDimension () override const |
int | dimension () override const |
auto | dropM () override |
auto | dropZ () override |
iterator | end () |
const_iterator | end () const |
const Geometry & | geometryN (size_t const & n) override const |
Geometry & | geometryN (size_t const & n) override |
std::string | geometryType () override const |
GeometryType | geometryTypeId () override const |
bool | is3D () override const |
bool | isEmpty () override const |
bool | isMeasured () override const |
size_t | numGeometries () override const |
GeometryCollection & | operator= (GeometryCollection other) |
void | serialize (Archive & ar, const unsigned int) |
virtual void | setGeometryN (const Geometry & geometry, size_t const & n) override |
virtual void | setGeometryN (Geometry * geometry, size_t const & n) override |
auto | swapXY () override |
virtual | ~GeometryCollection () |
Protected Functions#
Type | Name |
---|---|
virtual bool | isAllowed (Geometry const & g) override |
Protected Functions inherited from SFCGAL::GeometryCollection#
See SFCGAL::GeometryCollection
Type | Name |
---|---|
virtual bool | isAllowed (Geometry const & g) |
void | swap (GeometryCollection & other) |
Detailed Description#
A MultiPolygon in SFA. @ŧodo add polygon() etc.
Public Functions Documentation#
function MultiPolygon [1/2]#
SFCGAL::MultiPolygon::MultiPolygon ()
Empty MultiPolygon constructor
function MultiPolygon [2/2]#
SFCGAL::MultiPolygon::MultiPolygon (
MultiPolygon const & other
)
Copy constructor
function accept [1/2]#
void SFCGAL::MultiPolygon::accept (
GeometryVisitor & visitor
) override
function accept [2/2]#
void SFCGAL::MultiPolygon::accept (
ConstGeometryVisitor & visitor
) override const
function clone#
MultiPolygon * SFCGAL::MultiPolygon::clone () override const
function geometryType#
std::string SFCGAL::MultiPolygon::geometryType () override const
function geometryTypeId#
GeometryType SFCGAL::MultiPolygon::geometryTypeId () override const
function operator=#
MultiPolygon & SFCGAL::MultiPolygon::operator= (
MultiPolygon other
)
assign operator
function polygonN [1/2]#
inline Polygon & SFCGAL::MultiPolygon::polygonN (
const size_t & n
)
returns the n-th Geometry as a Polygon
function polygonN [2/2]#
inline const Polygon & SFCGAL::MultiPolygon::polygonN (
const size_t & n
) const
returns the n-th Geometry as a Polygon
function serialize#
template<class Archive>
inline void SFCGAL::MultiPolygon::serialize (
Archive & ar,
const unsigned int
)
Serializer
function ~MultiPolygon#
virtual SFCGAL::MultiPolygon::~MultiPolygon ()
destructor
Protected Functions Documentation#
function isAllowed#
virtual bool SFCGAL::MultiPolygon::isAllowed (
Geometry const & g
) override
Test if a geometry in the collection
Implements SFCGAL::GeometryCollection::isAllowed
The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/MultiPolygon.h