Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2
- Date: Fri, 07 Nov 2014 09:48:56 +0100
- Organization: GeometryFactory
On 11/07/2014 09:33 AM, Vincent Mora wrote:
Hi,The following should work:
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 ?
CGAL::Polygon_with_holes_2<Kernel> poly;
Kernel k;
are_holes_and_boundary_pairwise_disjoint(poly, k);
Sebastien.
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)
{
...
}
- [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2, Vincent Mora, 11/07/2014
- Re: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2, Sebastien Loriot (GeometryFactory), 11/07/2014
- Re: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2, Vincent Mora, 11/07/2014
- Re: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2, Sebastien Loriot (GeometryFactory), 11/07/2014
- Re: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2, Vincent Mora, 11/07/2014
- Re: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2, Efi Fogel, 11/07/2014
- Re: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2, Sebastien Loriot (GeometryFactory), 11/07/2014
- Re: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2, Vincent Mora, 11/07/2014
- Re: [cgal-discuss] [gdal-dev] how do I get the traits for Polygon_with_holes_2, Sebastien Loriot (GeometryFactory), 11/07/2014
Archive powered by MHonArc 2.6.18.