Subject: CGAL users discussion list
List archive
- From: Camille Wormser <>
- To:
- Subject: Re: [cgal-discuss] Plane equations and cartesian<double> kernel
- Date: Thu, 2 Oct 2008 11:17:58 +0200
I had a code (see below) that
does that and it worked nicely using a homogeneous kernel with Gmpz. Now I have
changed the kernel to be Cartesian<double> and the function does not work
anymore.
I did not read your code in detail, but you say
I tried different Kernels types (including
Exact_predicates_inexact_constructions_kernel) but the problem remains.
Then it probably means that you are performing some constructions.
I see that you test first "f1->plane()==f2->plane()", and then "f2- >halfedge()->next()->opposite()->facet()==f1".
So the supporting planes are constructed before being compared. You can avoid this construction by first testing that the two faces are adjacent, and then checking whether the four vertices are coplanar or not.
This may solve your problem, if you use Exact_predicates_inexact_constructions_kernel again.
--
Camille
- Re: [cgal-discuss] triangulate points in a 3d plane, (continued)
- Re: [cgal-discuss] triangulate points in a 3d plane, Shi Yan, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Manuel Caroli, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Laurent Rineau, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Olivier Devillers, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Shi Yan, 10/03/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Olivier Devillers, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Manuel Caroli, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Jens K. Becker, 10/02/2008
- [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- [cgal-discuss] Polyhedra and join_facets, Jens K. Becker, 10/15/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Camille Wormser, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Laurent Rineau, 10/02/2008
- [cgal-discuss] Plane equations and cartesian<double> kernel, Jens K. Becker, 10/02/2008
- Re: [cgal-discuss] triangulate points in a 3d plane, Shi Yan, 10/02/2008
Archive powered by MHonArc 2.6.16.