SFCGAL
Public Types | Public Member Functions | List of all members
SFCGAL::algorithm::Surface_d< 2 > Struct Reference
Inheritance diagram for SFCGAL::algorithm::Surface_d< 2 >:

Public Types

using PointVector = std::vector< Point_2 >
 
using SegmentVector = std::vector< Segment_2 >
 
using SurfaceVector = std::vector< PointVector >
 

Public Member Functions

 Surface_d (const PolygonWH_2 &s)
 
void splitAt (const Segment_2 &s)
 
void addSplitsFrom (const Surface_d< 2 > &other)
 
auto pieces () const -> std::vector< PolygonWH_2 >
 

Member Typedef Documentation

◆ PointVector

using SFCGAL::algorithm::Surface_d< 2 >::PointVector = std::vector<Point_2>

◆ SegmentVector

using SFCGAL::algorithm::Surface_d< 2 >::SegmentVector = std::vector<Segment_2>

◆ SurfaceVector

using SFCGAL::algorithm::Surface_d< 2 >::SurfaceVector = std::vector<PointVector>

Constructor & Destructor Documentation

◆ Surface_d()

SFCGAL::algorithm::Surface_d< 2 >::Surface_d ( const PolygonWH_2 s)
inline

Member Function Documentation

◆ addSplitsFrom()

void SFCGAL::algorithm::Surface_d< 2 >::addSplitsFrom ( const Surface_d< 2 > &  other)
inline

◆ pieces()

auto SFCGAL::algorithm::Surface_d< 2 >::pieces ( ) const -> std::vector<PolygonWH_2>
inline

◆ splitAt()

void SFCGAL::algorithm::Surface_d< 2 >::splitAt ( const Segment_2 s)
inline