|
SFCGAL 2.3.0
|
#include <GeometrySet.h>
Public Types | |
| using | Type |
| Variant type holding a pointer to one of the primitive types (Point, Segment, Surface, or Volume). | |
Public Member Functions | |
| template<class T> | |
| PrimitiveHandle (const T *primitivePointer) | |
| Constructor from primitive pointer. | |
| template<class T> | |
| auto | as () const -> const T * |
| Cast handle to specific type. | |
Public Attributes | |
| Type | handle |
| The stored primitive handle. | |
Primitive handle.
Holds a pointer to a primitive, through the 'handle' member
| using SFCGAL::detail::PrimitiveHandle< Dim >::Type |
Variant type holding a pointer to one of the primitive types (Point, Segment, Surface, or Volume).
|
inline |
Constructor from primitive pointer.
| primitivePointer | Pointer to the primitive to store |
|
inlinenodiscard |
Cast handle to specific type.
| Type SFCGAL::detail::PrimitiveHandle< Dim >::handle |
The stored primitive handle.