Skip to content

Struct SFCGAL::algorithm::Surface_d< 2 >#

template <>

ClassList > Surface_d< 2 >

Inherits the following classes: Polygon_with_holes_2

Public Types#

Type Name
typedef std::vector< Point_2 > PointVector
typedef std::vector< Segment_2 > SegmentVector
typedef std::vector< PointVector > SurfaceVector

Public Functions#

Type Name
Surface_d (const Polygon_with_holes_2 & s)
void addSplitsFrom (const Surface_d< 2 > & other)
auto pieces () const
void splitAt (const Segment_2 & s)

Public Types Documentation#

typedef PointVector#

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

typedef SegmentVector#

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

typedef SurfaceVector#

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

Public Functions Documentation#

function Surface_d#

inline Surface_d< 2 >::Surface_d (
    const Polygon_with_holes_2 & s
) 

function addSplitsFrom#

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

function pieces#

inline auto Surface_d< 2 >::pieces () const

function splitAt#

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


The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/algorithm/union.cpp