First of all, I apologize to post this easy question. Probably there is a module to compute angle and distance between two points.
- A = (560023.44957588764,6362057.3904932579)
- B = (560036.44957588764,6362071.8904932579)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Given
you could compute the angle,
theta, and the distance between A and B with:which yields
(Edit: Since you are dealing with points in a plane, its easier to use
atan2than the dot-product formula).