SFCGAL
Classes | Public Member Functions | List of all members
SFCGAL::algorithm::Handle< Dim > Class Template Reference

Public Member Functions

 Handle ()
 
 ~Handle ()
 
 Handle (const Handle &other)
 
template<class PrimitiveType >
 Handle (const PrimitiveType &primitive)
 
void swap (Handle &other)
 
auto operator= (Handle other) -> Handle &
 
auto operator* () const -> const ObservablePrimitive &
 
auto operator* () -> ObservablePrimitive &
 
auto operator-> () const -> const ObservablePrimitive *
 
auto operator-> () -> ObservablePrimitive *
 
auto asPoint () -> typename detail::Point_d< Dim >::Type &
 
auto asSegment () -> Segment_d< Dim > &
 
auto asSurface () -> Surface_d< Dim > &
 
auto asVolume () -> typename detail::Volume_d< Dim >::Type &
 
auto which () -> PrimitiveType
 
auto empty () -> bool
 
void registerObservers (Handle a)
 

Constructor & Destructor Documentation

◆ Handle() [1/3]

template<int Dim>
SFCGAL::algorithm::Handle< Dim >::Handle ( )
inline

◆ ~Handle()

template<int Dim>
SFCGAL::algorithm::Handle< Dim >::~Handle ( )
inline

◆ Handle() [2/3]

template<int Dim>
SFCGAL::algorithm::Handle< Dim >::Handle ( const Handle< Dim > &  other)
inline

◆ Handle() [3/3]

template<int Dim>
template<class PrimitiveType >
SFCGAL::algorithm::Handle< Dim >::Handle ( const PrimitiveType primitive)
inlineexplicit

Member Function Documentation

◆ asPoint()

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::asPoint ( ) -> typename detail::Point_d<Dim>::Type &
inline

◆ asSegment()

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::asSegment ( ) -> Segment_d<Dim> &
inline

◆ asSurface()

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::asSurface ( ) -> Surface_d<Dim> &
inline

◆ asVolume()

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::asVolume ( ) -> typename detail::Volume_d<Dim>::Type &
inline

◆ empty()

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::empty ( ) -> bool
inline

◆ operator*() [1/2]

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::operator* ( ) -> ObservablePrimitive &
inline

◆ operator*() [2/2]

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::operator* ( ) const -> const ObservablePrimitive &
inline

◆ operator->() [1/2]

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::operator-> ( ) -> ObservablePrimitive *
inline

◆ operator->() [2/2]

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::operator-> ( ) const -> const ObservablePrimitive *
inline

◆ operator=()

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::operator= ( Handle< Dim >  other) -> Handle &
inline

◆ registerObservers()

template<int Dim>
void SFCGAL::algorithm::Handle< Dim >::registerObservers ( Handle< Dim >  a)
inline

◆ swap()

template<int Dim>
void SFCGAL::algorithm::Handle< Dim >::swap ( Handle< Dim > &  other)
inline

◆ which()

template<int Dim>
auto SFCGAL::algorithm::Handle< Dim >::which ( ) -> PrimitiveType
inline