Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: how to find closest point on a segment/rectangle to a given point

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: how to find closest point on a segment/rectangle to a given point


Chronological Thread 
  • From: updog <>
  • To:
  • Subject: [cgal-discuss] Re: how to find closest point on a segment/rectangle to a given point
  • Date: Wed, 22 Jun 2011 20:27:21 -0700 (PDT)

I just find CGAL::squared_distance() would be useful.

However, is there a way to get the locations of the very pair of points
achieving the minimal squared distance?

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/how-to-find-closest-point-on-a-segment-rectangle-to-a-given-point-tp3618761p3618911.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page