As the title says, I need an algorithm that calculates the angle made by 3 points A(x,y,z) in a 3D space.
Share
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.
you can also use laws of triangle. You have the coordinates of the points, so you need to find the length of each side of the “triangle” that these points make (use the “Pythagorean theorem”). Then you can use the “law of cosigns” to find the measure of the angle.
You just gotta do a little math searching on the law of cosines and the Pythagorean theorem to figure out how to implement it.