# displacing a point by an angle and distance to get a 3rd point

This topic is 4912 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

right. i have point a at (20,20). i have an angle of 45 degrees. i have a distance of 10. how do i displace the point by the distance and angle? [Edited by - fguihen on February 7, 2005 12:45:27 PM]

##### Share on other sites
Is it a right triangle?

Otherwise it could be anywhere along the line of the angle

##### Share on other sites
Depends on which angle you're talking about.

If you're talking about angle a, as it looks like from the diagram, then you can't, since the third point is not determined.

You need to know angle c instead, though I can't tell you how to do it off the top of my head.

##### Share on other sites
o, sorry, the length of the line to the unknown point is ten, as is the length of the line between the known points

##### Share on other sites
Is it a circle ? a right triangle ? give us more info...
Which "known points" are you talking about ? you've only gave us one point, not two...

##### Share on other sites
If you want to displace the point 10 units at an angle of 45 degrees, you have to convert 10, 45 degrees into cartesian coordinates. In laymens terms, you have to find out how far away on the X axis and on the Y axis 10, 45 is from your original point. The distance on the X axis is (cos 45) * 10, and the Y is (sin 45) * 10. All you have to do is add the X value to the X axis and the Y value to the Y axis, and then you're set. For posterity, the formula is: X Value + ((cos Angle) * Distance), Y Value + ((sin Angle) * Distance).

##### Share on other sites
thats sorted it for me. thank a million. il rate all in this thread highly.

1. 1
2. 2
Rutin
24
3. 3
4. 4
JoeJ
18
5. 5

• 14
• 22
• 11
• 11
• 9
• ### Forum Statistics

• Total Topics
631766
• Total Posts
3002218
×