SFCGAL 1.4.0
|
Primitive handle. Holds a pointer to a primitive, through the 'handle' member. More...
#include <GeometrySet.h>
Public Types | |
typedef 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 * > | Type |
Public Member Functions | |
template<class T > | |
PrimitiveHandle (const T *p) | |
template<class T > | |
const T * | as () const |
Public Attributes | |
Type | handle |
Primitive handle. Holds a pointer to a primitive, through the 'handle' member.
typedef 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* > SFCGAL::detail::PrimitiveHandle< Dim >::Type |
|
inline |
|
inline |
Type SFCGAL::detail::PrimitiveHandle< Dim >::handle |