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