Subject: CGAL users discussion list
List archive
- From: "Max" <>
- To: <>
- Subject: RE: [cgal-discuss] Intersections with delta in CGAL
- Date: Mon, 4 May 2009 17:56:53 +0800
> I am using CGAL::Simple_cartesian<double> as Kernel. for Polyhedron_3.
> In my algorithm I need to compute the intersections of the planes
> induced by the faces of the polyhedra. That seems to work fine.
> But when I try to compute the intersections of the resulting
> intersection lines there seems to be a problem.
> CGAL says there is no intersection, but when I display the lines there
> is an intersection.
>
> I guess what I need is an intersection test which accepts a delta value
> to be more stable.
> I tried to find a function which computes the minimum distance between
> the lines and the point where this minimum distance occurs, but without
> success.
>
> Do I need to implement my own tests or can I do this with CGAL? A hint
> would be nice :)
>
> Best Regards,
> Matthias
CGAL will give the exact result, more exact than what you can see with your
eyes, as long as you are using an exact kernel.
Generally, you should use exact kernel types playing with (nef_)polyhedra.
The predefined Exact_predicates_exact_constructions_kernel is a good choice.
HTH.
B/Rgds
Max
- [cgal-discuss] how to use triangulation::incident_facets, nksallem, 05/03/2009
- [cgal-discuss] Intersections with delta in CGAL, Matthias Teich, 05/04/2009
- RE: [cgal-discuss] Intersections with delta in CGAL, Max, 05/04/2009
- Re: [cgal-discuss] Intersections with delta in CGAL, Andreas Fabri, 05/04/2009
- Re: [cgal-discuss] Intersections with delta in CGAL, Matthias Teich, 05/06/2009
- RE: [cgal-discuss] Intersections with delta in CGAL, Max, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Olivier Devillers, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Nizar Khalifa Sallem, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Andreas Fabri, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Daniel Duque, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Andreas Fabri, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Nizar Khalifa Sallem, 05/04/2009
- [cgal-discuss] Intersections with delta in CGAL, Matthias Teich, 05/04/2009
Archive powered by MHonArc 2.6.16.