A MultiPoint in SFA.
More...
#include <MultiPoint.h>
|
| auto | isAllowed (Geometry const &geometry) -> bool override |
| | Check if geometry is allowed in this collection.
|
◆ MultiPoint() [1/2]
| SFCGAL::MultiPoint::MultiPoint |
( |
| ) |
|
|
default |
◆ MultiPoint() [2/2]
| SFCGAL::MultiPoint::MultiPoint |
( |
const MultiPoint & | other | ) |
|
|
default |
Copy constructor.
- Parameters
-
| other | The multi-point to copy from |
◆ ~MultiPoint()
| SFCGAL::MultiPoint::~MultiPoint |
( |
| ) |
|
|
overridedefault |
◆ accept() [1/2]
Accept a const geometry visitor.
- Parameters
-
| visitor | Const visitor to accept |
◆ accept() [2/2]
Accept a geometry visitor.
- Parameters
-
◆ geometryType()
| auto SFCGAL::MultiPoint::geometryType |
( |
| ) |
const -> std::string |
|
nodiscardoverride |
Get the geometry type as string.
- Returns
- "MultiPoint"
◆ geometryTypeId()
| auto SFCGAL::MultiPoint::geometryTypeId |
( |
| ) |
const -> GeometryType |
|
nodiscardoverride |
Get the geometry type identifier.
- Returns
- TYPE_MULTIPOINT
◆ isAllowed()
| auto SFCGAL::MultiPoint::isAllowed |
( |
Geometry const & | geometry | ) |
-> bool |
|
overrideprotected |
Check if geometry is allowed in this collection.
- Parameters
-
- Returns
- true if geometry is a Point
◆ operator=()
assign operator
- Parameters
-
| other | The multi-point to assign from |
- Returns
- Reference to this multi-point
◆ pointN() [1/2]
| auto SFCGAL::MultiPoint::pointN |
( |
const size_t & | n | ) |
-> Point & |
|
inline |
returns the n-th Geometry as a Point
- Parameters
-
| n | The index of the point to get |
- Returns
- Reference to the nth point
◆ pointN() [2/2]
| auto SFCGAL::MultiPoint::pointN |
( |
const size_t & | n | ) |
const -> const Point & |
|
inline |
returns the n-th Geometry as a Point
- Parameters
-
| n | The index of the point to get |
- Returns
- Const reference to the nth point
◆ serialize()
template<class Archive>
| void SFCGAL::MultiPoint::serialize |
( |
Archive & | ar, |
|
|
const unsigned int | ) |
|
inline |
Serializer.
- Parameters
-
| ar | Archive for serialization |