SFCGAL
Public Types | Public Member Functions | List of all members
SFCGAL::algorithm::Segment_d< Dim > Struct Template Reference
Inheritance diagram for SFCGAL::algorithm::Segment_d< Dim >:

Public Types

using PointType = typename detail::Point_d< Dim >::Type
 
using SegmentType = typename detail::Segment_d< Dim >::Type
 
using PointVector = typename std::vector< PointType >
 
using SegmentVector = typename std::vector< SegmentType >
 

Public Member Functions

 Segment_d (const SegmentType &s)
 
void splitAt (const PointType &p)
 
void remove (const SegmentType &s)
 
template<class OutputIterator >
auto pieces (OutputIterator out) const -> OutputIterator
 
auto pieces () const -> SegmentVector
 

Member Typedef Documentation

◆ PointType

template<int Dim>
using SFCGAL::algorithm::Segment_d< Dim >::PointType = typename detail::Point_d<Dim>::Type

◆ PointVector

template<int Dim>
using SFCGAL::algorithm::Segment_d< Dim >::PointVector = typename std::vector<PointType>

◆ SegmentType

template<int Dim>
using SFCGAL::algorithm::Segment_d< Dim >::SegmentType = typename detail::Segment_d<Dim>::Type

◆ SegmentVector

template<int Dim>
using SFCGAL::algorithm::Segment_d< Dim >::SegmentVector = typename std::vector<SegmentType>

Constructor & Destructor Documentation

◆ Segment_d()

template<int Dim>
SFCGAL::algorithm::Segment_d< Dim >::Segment_d ( const SegmentType s)
inline

Member Function Documentation

◆ pieces() [1/2]

template<int Dim>
auto SFCGAL::algorithm::Segment_d< Dim >::pieces ( ) const -> SegmentVector
inline

◆ pieces() [2/2]

template<int Dim>
template<class OutputIterator >
auto SFCGAL::algorithm::Segment_d< Dim >::pieces ( OutputIterator  out) const -> OutputIterator
inline

◆ remove()

template<int Dim>
void SFCGAL::algorithm::Segment_d< Dim >::remove ( const SegmentType s)
inline

◆ splitAt()

template<int Dim>
void SFCGAL::algorithm::Segment_d< Dim >::splitAt ( const PointType p)
inline