A MultiSolid.
More...
#include <MultiSolid.h>
Inherits SFCGAL::GeometryImpl< Derived, Base >.
|
| auto | isAllowed (Geometry const &geometry) -> bool override |
| | Check if geometry is allowed in this collection. More...
|
| |
| SFCGAL::MultiSolid::MultiSolid |
( |
| ) |
|
|
default |
| SFCGAL::MultiSolid::MultiSolid |
( |
const MultiSolid & |
other | ) |
|
Copy constructor.
- Parameters
-
| other | The multi-solid to copy from |
| SFCGAL::MultiSolid::~MultiSolid |
( |
| ) |
|
|
overridedefault |
Accept a geometry visitor.
- Parameters
-
Accept a const geometry visitor.
- Parameters
-
| visitor | Const visitor to accept |
| auto SFCGAL::MultiSolid::geometryType |
( |
| ) |
const -> std::string |
|
override |
Get the geometry type as string.
- Returns
- "MultiSolid"
| auto SFCGAL::MultiSolid::geometryTypeId |
( |
| ) |
const -> GeometryType |
|
override |
Get the geometry type identifier.
- Returns
- TYPE_MULTISOLID
| auto SFCGAL::MultiSolid::isAllowed |
( |
Geometry const & |
geometry | ) |
-> bool |
|
overrideprotected |
Check if geometry is allowed in this collection.
- Parameters
-
- Returns
- true if geometry is a Solid
assign operator
- Parameters
-
| other | The multi-solid to assign from |
- Returns
- Reference to this multi-solid
template<class Archive >
| void SFCGAL::MultiSolid::serialize |
( |
Archive & |
ar, |
|
|
const unsigned |
int |
|
) |
| |
|
inline |
Serializer.
- Parameters
-
| ar | Archive for serialization |
| auto SFCGAL::MultiSolid::solidN |
( |
const size_t & |
n | ) |
-> Solid &
|
|
inline |
returns the n-th Geometry as a Solid
- Parameters
-
| n | The index of the solid to get |
- Returns
- Reference to the nth solid
| auto SFCGAL::MultiSolid::solidN |
( |
const size_t & |
n | ) |
const -> const Solid &
|
|
inline |
returns the n-th Geometry as a Solid
- Parameters
-
| n | The index of the solid to get |
- Returns
- Const reference to the nth solid