Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Bugs in AABBTree

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Bugs in AABBTree


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To: , Julian Panetta <>
  • Subject: Re: [cgal-discuss] Bugs in AABBTree
  • Date: Wed, 12 Nov 2014 17:03:19 +0100
  • Organization: GeometryFactory

Le Wednesday 12 November 2014 10:38:03 Qingnan Zhou a écrit :
> Hi Sebastien,
>
> Changing the kernel to CGAL::Exact_predicates_inexact_constructions_kernel
> does not help in this case. The closest point and primitive returned are
> still incorrect for many faces. However, switching to gcc-4.9.2 on linux
> seems to make the problem go away. Maybe it is related to how CGAL is
> built?
>
> Is anyone able to reproduce this problem? I.e. compute the distance
> between face center to the mesh for every face and check the distance is
> 0. Try it on this mesh: "suzanne.obj
> <https://www.dropbox.com/s/j1xj8nfy68xpdqc/suzanne_tri.obj?dl=0>"

The computation of a distance is a construction. With the kernel
CGAL::Exact_predicates_inexact_constructions_kernel, then the constructions
are not exact, and thus the computation of a distance is not exact either.
That is expected.

Please explain what sort of problem you want to solve, that is impacted by
this "bug", and we might be able to propose other solutions.

--
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.18.

Top of Page