Thread: OT: 2D/3D math
View Single Post
  #1  
Old November 26th, 2004, 11:20 PM
Slick's Avatar

Slick Slick is offline
Brigadier General
 
Join Date: Apr 2002
Location: Kailua, Hawaii
Posts: 1,860
Thanks: 0
Thanked 1 Time in 1 Post
Slick is on a distinguished road
Default Re: OT: 2D/3D math

use some algebra to transform the equation of the line to:

line: Ax + By + C = 0

then use whatever you came up with for A, B & C in the formula I gave to find the distance between the point and the line.

Slick.
__________________
Slick.
Reply With Quote