Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Boolean set operation assertion

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Boolean set operation assertion


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Boolean set operation assertion
  • Date: Tue, 22 Mar 2011 17:28:12 +0100
  • Organization: GeometryFactory

Le mardi 22 mars 2011 16:49:52, T.vanLankveld a écrit :

> As I already said, this does fix the problem for that case, but makes the

> rest of my code much too slow. The example given is heavily cut down from

> my code to make as minimal example.

>

> My full code includes calculating Delaunay triangulations for two point

> sets from which the polygons are extracted, and a number of tests on these

> polygons, including some that require boolean set operations.

You need to use CGAL::Exact_predicates_inexact_constructions_kernel for the triangulations, and then convert your data to the CGAL::Exact_predicates_exact_constructions_kernel to the the boolean operations.

The class template CGAL::Cartesian_converter<K1, K2> can help to convert from a kernel to another.

--

Laurent Rineau, PhD

R&D Engineer at GeometryFactory http://www.geometryfactory.com/

Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.16.

Top of Page