Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] return of nan value

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] return of nan value


Chronological Thread 
  • From: Wellington Castro <>
  • To:
  • Subject: Re: [cgal-discuss] return of nan value
  • Date: Thu, 28 Jul 2016 12:33:10 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:XFQOnhaPm9Pt+OE+4xIbJLz/LSx+4OfEezUN459isYplN5qZpMy7bnLW6fgltlLVR4KTs6sC0LuO9f6/EjVYud6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JXvkb7tsMSLO01hv3mUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD86FpyshbTK+vf7gkVacKS3M9ImUt7YvqswPCRE2B/DwHQ2AOm11JBQbCqxr1V5O0virhvfdmw3qmOpj9QrkwHDij9Kx2UwTAiSEdNjd//nuEpNZ3ifdkrRalphpw34nSKKqcL+ZkeeuJYt4eQWtHUdpWUTJKC5igdYwnAO8IPOIepI748Qhd5SCiDBWhUbu8ggRDgWX7iPU3

Hi Laurent, I think that is the first option. Because some meshes I get error and others not. In the cases with error, I am planning to search the 3 nearest neighbors and calculate the distance to the plane described by then. Do you think os a good ideia ?

Tks for replying


Em 28/07/2016 10:48, "Laurent Rineau (CGAL/GeometryFactory)" <> escreveu:
Le Wednesday 27 July 2016 12:13:02 Wellington Castro a écrit :
> Hi everbody, I am using the function tree.closest_point(), but is returns a
> nan point, what it means ?

It might be that:
  - your AABB tree contains flat triangles,
  - you do not have CGAL assertions (probably a Release build).

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory           http://www.geometryfactory.com/
Release Manager of the CGAL Project       http://www.cgal.org/


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





Archive powered by MHonArc 2.6.18.

Top of Page