[gdal-dev] how do I get the traits for Polygon_with_holes_2

Vincent Mora vincent.mora at oslandia.com
Fri Nov 7 00:14:21 PST 2014


Hi,

I need to call are_holes_and_boundary_pairwise_disjoint(pwh, traits) to 
check an instance pwh of CGAL::Polygon_with_holes_2<Kernel>.

I can't figure out how to obtain the traits parameter. Can someone tell me ?

Thanks,

V.


template <class Traits_2>
bool are_holes_and_boundary_pairwise_disjoint
(const typename Traits_2::Polygon_with_holes_2& pwh, Traits_2& traits)
{
...
}




More information about the gdal-dev mailing list