SFCGAL 1.4.0
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

typedef detail::Point_d< Dim >::Type PointType
 
typedef detail::Segment_d< Dim >::Type SegmentType
 
typedef std::vector< PointTypePointVector
 
typedef std::vector< SegmentTypeSegmentVector
 

Public Member Functions

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

Member Typedef Documentation

◆ PointType

template<int Dim>
typedef detail::Point_d<Dim>::Type SFCGAL::algorithm::Segment_d< Dim >::PointType

◆ PointVector

template<int Dim>
typedef std::vector< PointType > SFCGAL::algorithm::Segment_d< Dim >::PointVector

◆ SegmentType

template<int Dim>
typedef detail::Segment_d<Dim>::Type SFCGAL::algorithm::Segment_d< Dim >::SegmentType

◆ SegmentVector

template<int Dim>
typedef std::vector< SegmentType > SFCGAL::algorithm::Segment_d< Dim >::SegmentVector

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>
SegmentVector SFCGAL::algorithm::Segment_d< Dim >::pieces ( ) const
inline

◆ pieces() [2/2]

template<int Dim>
template<class OutputIterator >
OutputIterator SFCGAL::algorithm::Segment_d< Dim >::pieces ( OutputIterator  out) const
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