Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


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

On 07/11/2014 10:10, Sebastien Loriot (GeometryFactory) wrote:
On 11/07/2014 10:01 AM, Vincent Mora wrote:
On 07/11/2014 09:48, Sebastien Loriot (GeometryFactory) wrote:
On 11/07/2014 09:33 AM, Vincent Mora wrote:
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 ?
The following should work:

but does not: error: no type named ‘Polygon_with_holes_2’ in ‘class
CGAL::Epeck’


CGAL::Polygon_with_holes_2<Kernel> poly;
Kernel k;

Sorry:
CGAL::Gps_segment_traits_2<Kernel> traits;


Thanks a lot.



Archive powered by MHonArc 2.6.18.

Top of Page