Distance between POINT and LINE

BlitzMax Forums/BlitzMax Programming/Distance between POINT and LINE

EOF(Posted 2008) [#1]
I have been playing around with vector stuff for some time but cannot seem to crack this problem
I need to know what the distance is from a point to a line which could be at any angle
In this photo, the length of the GREEN dotted line




Mauft(Posted 2008) [#2]
Google.
Especially, check this one:
http://local.wasp.uwa.edu.au/~pbourke/geometry/pointline/
And for furthermore Geometric problems:
http://local.wasp.uwa.edu.au/~pbourke/geometry/

I found this site quite helpful, as soon as I managed to decipher it ^^


xMicky(Posted 2008) [#3]
In the code archive are some entries for this problem, for example:

Distance to line


EOF(Posted 2008) [#4]
Code archives - Distance to Line segment is just the job. Thanks!