Subject: CGAL users discussion list
List archive
- From: Camille Wormser <>
- To:
- Subject: Re: [cgal-discuss] Euclidean distance Point_3 to Triangle
- Date: Mon, 25 May 2009 15:31:32 +0200
That seems to work, thanks!
My last question to that function would be what is meant by the bound?
I use my Point P0 as origin and the triangle. But what point represents bound?
nearest_point_3(const Point_3<K>& origin,
const Triangle_3<K>& triangle,
const Point_3<K>& bound)
If bound is closer to origin than triangle is, bound is returned.
If you want the closest point on the triangle, set bound to be one of the vertices of the triangle.
--
Camille
- [cgal-discuss] Euclidean distance Point_3 to Triangle, matthias.kunz, 05/22/2009
- Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, Pierre Alliez, 05/24/2009
- Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, Bernd Gaertner, 05/25/2009
- Re: Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, matthias.kunz, 05/25/2009
- Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, Bernd Gaertner, 05/25/2009
- RE: Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, Amir Vaxman, 05/25/2009
- Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, Pierre Alliez, 05/25/2009
- Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, Pierre Alliez, 05/25/2009
- Re: Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, matthias.kunz, 05/25/2009
- Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, Camille Wormser, 05/25/2009
- Re: Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, matthias.kunz, 05/25/2009
- Re: Re: [cgal-discuss] Euclidean distance Point_3 to Triangle, matthias.kunz, 05/25/2009
Archive powered by MHonArc 2.6.16.