Add cgal helper function for tesselation
This commit is contained in:
parent
771d65881e
commit
7f532ce615
2 changed files with 8 additions and 0 deletions
|
@ -157,3 +157,9 @@ TGPolygon polygon_tesselate_alt_with_extra_cgal( TGPolygon &p, const point_list&
|
|||
|
||||
return result;
|
||||
}
|
||||
|
||||
TGPolygon polygon_tesselate_alt_cgal( TGPolygon &p, bool verbose ) {
|
||||
|
||||
point_list pl; pl.clear();
|
||||
return ( polygon_tesselate_alt_with_extra_cgal(p, pl, verbose) );
|
||||
}
|
||||
|
|
|
@ -72,6 +72,8 @@ TGPolygon polygon_tesselate_alt_with_extra( TGPolygon &p,
|
|||
TGPolygon polygon_tesselate_alt_with_extra_cgal( TGPolygon &p,
|
||||
const point_list &extra_nodes, bool verbose );
|
||||
|
||||
TGPolygon polygon_tesselate_alt_cgal( TGPolygon &p, bool verbose );
|
||||
|
||||
// calculate some "arbitrary" point inside each of the polygons contours
|
||||
void calc_points_inside( TGPolygon& p );
|
||||
|
||||
|
|
Loading…
Reference in a new issue