Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: Vincent Mora <>
  • To:
  • Subject: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2
  • Date: Fri, 07 Nov 2014 09:33:01 +0100

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)
{
...
}



Archive powered by MHonArc 2.6.18.

Top of Page