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