Class SFCGAL::MultiPoint
ClassList > SFCGAL > MultiPoint
#include <MultiPoint.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 |
|---|---|
| MultiPoint () |
|
| MultiPoint (const MultiPoint & other) |
|
| virtual void | accept (GeometryVisitor & visitor) [visitor]dispatch visitor |
| virtual void | accept (ConstGeometryVisitor & visitor) const [visitor]dispatch visitor |
| virtual MultiPoint * | 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. |
| MultiPoint & | operator= (MultiPoint other) |
| Point & | pointN (const size_t & n) |
| const Point & | pointN (const size_t & n) const |
| void | serialize (Archive & ar, const unsigned int) |
| virtual | ~MultiPoint () |
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_ |
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
A MultiPoint in SFA.
Public Functions Documentation
function MultiPoint [1/2]
SFCGAL::MultiPoint::MultiPoint ()
Empty MultiPoint constructor
function MultiPoint [2/2]
SFCGAL::MultiPoint::MultiPoint (
const MultiPoint & other
)
Copy constructor
function accept [1/2]
virtual void SFCGAL::MultiPoint::accept (
GeometryVisitor & visitor
)
Implements SFCGAL::GeometryCollection::accept
function accept [2/2]
virtual void SFCGAL::MultiPoint::accept (
ConstGeometryVisitor & visitor
) const
Implements SFCGAL::GeometryCollection::accept
function clone
virtual MultiPoint * SFCGAL::MultiPoint::clone () const
Implements SFCGAL::GeometryCollection::clone
function geometryType
[OGC/SFA]returns the geometry type
virtual std::string SFCGAL::MultiPoint::geometryType () const
Warning:
use CamelCase (LineString, not LINESTRING)
Implements SFCGAL::GeometryCollection::geometryType
function geometryTypeId
Returns a code corresponding to the type.
virtual GeometryType SFCGAL::MultiPoint::geometryTypeId () const
Warning:
not standard
Implements SFCGAL::GeometryCollection::geometryTypeId
function operator=
MultiPoint & SFCGAL::MultiPoint::operator= (
MultiPoint other
)
assign operator
function pointN [1/2]
inline Point & SFCGAL::MultiPoint::pointN (
const size_t & n
)
returns the n-th Geometry as a Point
function pointN [2/2]
inline const Point & SFCGAL::MultiPoint::pointN (
const size_t & n
) const
returns the n-th Geometry as a Point
function serialize
template<class Archive>
inline void SFCGAL::MultiPoint::serialize (
Archive & ar,
const unsigned int
)
Serializer
function ~MultiPoint
virtual SFCGAL::MultiPoint::~MultiPoint ()
destructor
Protected Functions Documentation
function isAllowed
virtual bool SFCGAL::MultiPoint::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/florent_fougeres/SFCGAL/src/MultiPoint.h