Al Hart
12-17-2007, 10:36 AM
We're trying to determine if a given point is on a line created by 2 other known points. We see $colin to help determine if it's on the line, but don't see how to determine if it is between the 2 end points. Any help is appreciated.
$perp should do it.
It returns #true if a perpendicular from the point to the line is between the end points of the line and #false if the perpendicular lies outside the end points.
It works even if the point is already on the line.
$perp should do it.
It returns #true if a perpendicular from the point to the line is between the end points of the line and #false if the perpendicular lies outside the end points.
It works even if the point is already on the line.