turtlepokerman
Junior Member level 2
- Joined
- Nov 8, 2012
- Messages
- 21
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,463
Good afternoon everyone,
I am currently working on a program that needs to find the distance between a point and a line SEGMENT. There are plenty of formulas out there that provide the distance between a point and a line, but it is important that it be a line segment and a point. The formula should also be in 3-dimensions. So let's say that I know the Point Vector P = <71,54,29> and the two end segments of the lines at Q1 = <200,200,15> and Q2 = <250,250,15>. Any help is greatly appreciated!!! Please do not provide any code.
Thanks,
I am currently working on a program that needs to find the distance between a point and a line SEGMENT. There are plenty of formulas out there that provide the distance between a point and a line, but it is important that it be a line segment and a point. The formula should also be in 3-dimensions. So let's say that I know the Point Vector P = <71,54,29> and the two end segments of the lines at Q1 = <200,200,15> and Q2 = <250,250,15>. Any help is greatly appreciated!!! Please do not provide any code.
Thanks,