A MultiPoint in SFA.
More...
#include <MultiPoint.h>
Inherits SFCGAL::GeometryImpl< Derived, Base >.
|
| auto | isAllowed (Geometry const &geometry) -> bool override |
| | Check if geometry is allowed in this collection. More...
|
| |
| SFCGAL::MultiPoint::MultiPoint |
( |
| ) |
|
|
default |
| SFCGAL::MultiPoint::MultiPoint |
( |
const MultiPoint & |
other | ) |
|
Copy constructor.
- Parameters
-
| other | The multi-point to copy from |
| SFCGAL::MultiPoint::~MultiPoint |
( |
| ) |
|
|
overridedefault |
Accept a geometry visitor.
- Parameters
-
Accept a const geometry visitor.
- Parameters
-
| visitor | Const visitor to accept |
| auto SFCGAL::MultiPoint::geometryType |
( |
| ) |
const -> std::string |
|
override |
Get the geometry type as string.
- Returns
- "MultiPoint"
| auto SFCGAL::MultiPoint::geometryTypeId |
( |
| ) |
const -> GeometryType |
|
override |
Get the geometry type identifier.
- Returns
- TYPE_MULTIPOINT
| 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
assign operator
- Parameters
-
| other | The multi-point to assign from |
- Returns
- Reference to this multi-point
| 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
| 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
template<class Archive >
| void SFCGAL::MultiPoint::serialize |
( |
Archive & |
ar, |
|
|
const unsigned |
int |
|
) |
| |
|
inline |
Serializer.
- Parameters
-
| ar | Archive for serialization |