Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Given a list of lines, and a test point, can I find the line index that is the nearest to the test point?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Given a list of lines, and a test point, can I find the line index that is the nearest to the test point?


Chronological Thread 
  • From: xiaoyou <>
  • To:
  • Subject: [cgal-discuss] Re: Given a list of lines, and a test point, can I find the line index that is the nearest to the test point?
  • Date: Wed, 23 Jan 2013 00:40:30 -0800 (PST)

You can calculate the minimum distance from the testing point to each line
respectively and then compare all the values you have obtained.
In my opinion, one of the effective ways to calculate the minimum distance
is using the "Linear and quadratic programming solver".

Hope it can help you.





--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Given-a-list-of-lines-and-a-test-point-can-I-find-the-line-index-that-is-the-nearest-to-the-test-poi-tp4656514p4656536.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page