1
0
Fork 0

Add cgal helper function for tesselation

This commit is contained in:
Christian Schmitt 2012-09-03 21:27:40 +02:00
parent 771d65881e
commit 7f532ce615
2 changed files with 8 additions and 0 deletions

View file

@ -157,3 +157,9 @@ TGPolygon polygon_tesselate_alt_with_extra_cgal( TGPolygon &p, const point_list&
return result; 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) );
}

View file

@ -72,6 +72,8 @@ TGPolygon polygon_tesselate_alt_with_extra( TGPolygon &p,
TGPolygon polygon_tesselate_alt_with_extra_cgal( TGPolygon &p, TGPolygon polygon_tesselate_alt_with_extra_cgal( TGPolygon &p,
const point_list &extra_nodes, bool verbose ); 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 // calculate some "arbitrary" point inside each of the polygons contours
void calc_points_inside( TGPolygon& p ); void calc_points_inside( TGPolygon& p );