Raised This Month: $ Target: $400
 0% 

Coordinates of a point related to two other points


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-19-2009 , 06:02   Coordinates of a point related to two other points
Reply With Quote #1

I would like to know if someone knows a way of getting the coordinates of a point that belongs to a line perpendicular to another one that connects two points. The last two points are known, and one of them is in the first line. Example:

[IMG]http://img19.**************/img19/2782/axis.jpg[/IMG]

Let's say that we are in the point A aiming at B. I want to have C knowing:

that the line AC is perpendicular to AB.
the length of AC.
the coordinates of A
the coordinates of B

I partially found a solution with some mathematical equations but, I have problems when the divisors get close to 0.

Ignore the Z-axis and be aware that the coordinates of each point differ from the other's, both in X-axis and Y-axis.
__________________

Last edited by joaquimandrade; 03-19-2009 at 12:40.
joaquimandrade is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode