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