Deprecated: Assigning the return value of new by reference is deprecated in /home2/vgps01/public_html/j2megps.com/blog/wp-settings.php on line 472

Deprecated: Assigning the return value of new by reference is deprecated in /home2/vgps01/public_html/j2megps.com/blog/wp-settings.php on line 487

Deprecated: Assigning the return value of new by reference is deprecated in /home2/vgps01/public_html/j2megps.com/blog/wp-settings.php on line 494

Deprecated: Assigning the return value of new by reference is deprecated in /home2/vgps01/public_html/j2megps.com/blog/wp-settings.php on line 530
J2ME GPS | Tag Archive | distance

Tag Archive | "distance"

Distance Between Point and Line

Wednesday, March 11, 2009

0 Comments

This note describes the technique and gives the solution to finding the shortest distance from a point to a line or line segment. The equation of a line defined through two points P1 (x1,y1) and P2 (x2,y2) is P = P1 + u (P2 - P1) The point P3 (x3,y3) is closest to the line at the [...]

Continue reading...