Skip to content

Struct SFCGAL::algorithm::Surface_d< 2 >

template <>

ClassList > SFCGAL > algorithm > Surface_d< 2 >

Inherits the following classes: PolygonWH_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 PolygonWH_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 SFCGAL::algorithm::Surface_d< 2 >::Surface_d (
    const PolygonWH_2 & s
) 

function addSplitsFrom

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

function pieces

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

function splitAt

inline void SFCGAL::algorithm::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