Class SFCGAL::MultiSolid
ClassList > SFCGAL > MultiSolid
#include <MultiSolid.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 |
---|---|
MultiSolid () |
|
MultiSolid (const MultiSolid & other) |
|
virtual void | accept (GeometryVisitor & visitor) [visitor]dispatch visitor |
virtual void | accept (ConstGeometryVisitor & visitor) const [visitor]dispatch visitor |
virtual MultiSolid * | clone () const Get a deep copy of the geometry. |
virtual std::string | geometryType () const [OGC/SFA]returns the geometry type |
virtual GeometryType | geometryTypeId () const Returns a code corresponding to the type. |
MultiSolid & | operator= (MultiSolid other) |
void | serialize (Archive & ar, const unsigned int) |
Solid & | solidN (const size_t & n) |
const Solid & | solidN (const size_t & n) const |
virtual | ~MultiSolid () |
Public Functions inherited from SFCGAL::GeometryCollection
See SFCGAL::GeometryCollection
Type | Name |
---|---|
GeometryCollection () |
|
GeometryCollection (const GeometryCollection & other) |
|
virtual void | accept (GeometryVisitor & visitor) [visitor]dispatch visitor |
virtual void | accept (ConstGeometryVisitor & visitor) const [visitor]dispatch visitor |
void | addGeometry (Geometry * geometry) |
void | addGeometry (Geometry const & geometry) |
iterator | begin () |
const_iterator | begin () const |
virtual GeometryCollection * | clone () const Get a deep copy of the geometry. |
virtual int | coordinateDimension () const |
virtual int | dimension () const |
iterator | end () |
const_iterator | end () const |
virtual const Geometry & | geometryN (size_t const & n) const [OGC/SFA]Returns the n-th geometry |
virtual Geometry & | geometryN (size_t const & n) [OGC/SFA]Returns the n-th geometry |
virtual std::string | geometryType () const [OGC/SFA]returns the geometry type |
virtual GeometryType | geometryTypeId () const Returns a code corresponding to the type. |
virtual bool | is3D () const |
virtual bool | isEmpty () const |
virtual bool | isMeasured () const |
virtual size_t | numGeometries () const [OGC/SFA]Gets the number of geometries in a collection of geometries |
GeometryCollection & | operator= (GeometryCollection other) |
void | serialize (Archive & ar, const unsigned int) |
virtual | ~GeometryCollection () |
Public Functions inherited from SFCGAL::Geometry
See SFCGAL::Geometry
Type | Name |
---|---|
Geometry () Default constructor. |
|
Geometry (const Geometry &) = default Copy constructor. |
|
virtual void | accept (GeometryVisitor & visitor) = 0 [visitor]dispatch visitor |
virtual void | accept (ConstGeometryVisitor & visitor) const = 0 [visitor]dispatch visitor |
auto | almostEqual (const Geometry & other, const double tolerance) const |
const Derived & | as () const Downcast to a "Derived" class. |
Derived & | as () Downcast to a "Derived" class. |
std::string | asText (const int & numDecimals=-1) const |
std::string | asWkb (boost::endian::order wkbOrder=boost::endian::order::native, bool asHex=false) const |
virtual std::unique_ptr< Geometry > | boundary () const [OGC/SFA]Returns the boundary of the geometry |
virtual Geometry * | clone () const = 0 Get a deep copy of the geometry. |
virtual int | coordinateDimension () const = 0 |
virtual int | dimension () const = 0 |
double | distance (const Geometry & other) const Computes the distance to an other geometry. |
double | distance3D (const Geometry & other) const Computes the 3D distance to an other geometry. |
Envelope | envelope () const |
void | forceValidityFlag (bool validity) |
virtual const Geometry & | geometryN (size_t const & n) const [OGC/SFA]Returns the n-th geometry |
virtual Geometry & | geometryN (size_t const & n) [OGC/SFA]Returns the n-th geometry |
virtual std::string | geometryType () const = 0 [OGC/SFA]returns the geometry type |
virtual GeometryType | geometryTypeId () const = 0 Returns a code corresponding to the type. |
bool | hasValidityFlag () const |
bool | is () const Tests if geometry is of "Derived" type given as template parameter. |
virtual bool | is3D () const = 0 |
virtual bool | isEmpty () const = 0 |
virtual bool | isMeasured () const = 0 |
virtual size_t | numGeometries () const [OGC/SFA]Gets the number of geometries in a collection of geometries |
Geometry & | operator= (const Geometry & other) = default Copy assignemnt operator. |
void | round (const long & scale=1) round the geometry with a corresponding scale factor |
void | serialize (Archive &, const unsigned int) |
virtual | ~Geometry () = default Destructor. |
Protected Attributes inherited from SFCGAL::Geometry
See SFCGAL::Geometry
Type | Name |
---|---|
bool | validityFlag_ = = false |
Protected Functions
Type | Name |
---|---|
virtual bool | isAllowed (Geometry const & g) |
Protected Functions inherited from SFCGAL::GeometryCollection
See SFCGAL::GeometryCollection
Type | Name |
---|---|
virtual bool | isAllowed (Geometry const & g) |
void | swap (GeometryCollection & other) |
Detailed Description
Public Functions Documentation
function MultiSolid [1/2]
SFCGAL::MultiSolid::MultiSolid ()
Empty MultiSolid constructor
function MultiSolid [2/2]
SFCGAL::MultiSolid::MultiSolid (
const MultiSolid & other
)
Copy constructor
function accept [1/2]
virtual void SFCGAL::MultiSolid::accept (
GeometryVisitor & visitor
)
Implements SFCGAL::GeometryCollection::accept
function accept [2/2]
virtual void SFCGAL::MultiSolid::accept (
ConstGeometryVisitor & visitor
) const
Implements SFCGAL::GeometryCollection::accept
function clone
virtual MultiSolid * SFCGAL::MultiSolid::clone () const
Implements SFCGAL::GeometryCollection::clone
function geometryType
[OGC/SFA]returns the geometry type
virtual std::string SFCGAL::MultiSolid::geometryType () const
Warning:
use CamelCase (LineString, not LINESTRING)
Implements SFCGAL::GeometryCollection::geometryType
function geometryTypeId
Returns a code corresponding to the type.
virtual GeometryType SFCGAL::MultiSolid::geometryTypeId () const
Warning:
not standard
Implements SFCGAL::GeometryCollection::geometryTypeId
function operator=
MultiSolid & SFCGAL::MultiSolid::operator= (
MultiSolid other
)
assign operator
function serialize
template<class Archive>
inline void SFCGAL::MultiSolid::serialize (
Archive & ar,
const unsigned int
)
Serializer
function solidN [1/2]
inline Solid & SFCGAL::MultiSolid::solidN (
const size_t & n
)
returns the n-th Geometry as a Solid
function solidN [2/2]
inline const Solid & SFCGAL::MultiSolid::solidN (
const size_t & n
) const
returns the n-th Geometry as a Solid
function ~MultiSolid
virtual SFCGAL::MultiSolid::~MultiSolid ()
destructor
Protected Functions Documentation
function isAllowed
virtual bool SFCGAL::MultiSolid::isAllowed (
Geometry const & g
)
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/MultiSolid.h