diff --git a/src/Lib/Geometry/poly_cgal.cxx b/src/Lib/Geometry/poly_cgal.cxx index b5be6bee..19633fe1 100644 --- a/src/Lib/Geometry/poly_cgal.cxx +++ b/src/Lib/Geometry/poly_cgal.cxx @@ -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) ); +} diff --git a/src/Lib/Geometry/poly_support.hxx b/src/Lib/Geometry/poly_support.hxx index b2fb1715..675570eb 100644 --- a/src/Lib/Geometry/poly_support.hxx +++ b/src/Lib/Geometry/poly_support.hxx @@ -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 );