Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Projection of a point on a Mesh

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Projection of a point on a Mesh


Chronological Thread 
  • From: Camille Wormser <>
  • To:
  • Subject: Re: [cgal-discuss] Projection of a point on a Mesh
  • Date: Wed, 25 Mar 2009 17:09:10 +0100

I guess you would be happy to find the closest point from one query
point to a triange soup ?

Actually, I was interested in this kind of problem, too. Right now, I am using
a method that's quite clumsy: getting the plane containing the triangle, its
normal, following the normal to find the intersection, then checking if the
intersection is within the triangle or not. I needed this in order to get the
"distance of a point to a triangulation".

Well, this method will not get you the real distance. (Think about the case where the closest point is a vertex or a sharp crease, which is, in fact, the generic case in some sense)

The software Pierre mentionned should compute the real distance.
--
Camille




Archive powered by MHonArc 2.6.16.

Top of Page