Results 1 to 3 of 3
 12242010, 12:05 AM #1Senior Member
 Join Date
 Aug 2010
 Posts
 127
 Rep Power
 0
calculating the angle between 3 points
I have 3 points: A, B and C. These are just pairs of doubles defining their x and y values. Now I need to calculate the angle between the lines AB and BC. Is there a methode in the standard java library that does this? I thought there was one in the Math class, but I was wrong.
 12242010, 12:36 AM #2
 Join Date
 Jul 2007
 Location
 Colombo, Sri Lanka
 Posts
 11,370
 Blog Entries
 1
 Rep Power
 25
Do you know the basic maths about how to calculate the angle between three points?
 12242010, 08:49 AM #3
 Join Date
 Sep 2008
 Location
 Voorschoten, the Netherlands
 Posts
 14,422
 Blog Entries
 7
 Rep Power
 28
Build a wall around Donald Trump; I'll pay for it.
Similar Threads

Angle to Radians and Calculate the Cosine
By coldplay7588 in forum New To JavaReplies: 7Last Post: 09262010, 08:12 PM 
AffineTransform begin at custom angle
By crazycat03 in forum AWT / SwingReplies: 3Last Post: 01252010, 08:00 AM 
Java3D Vector3d.angle(Vector3d)
By Duesentrieb in forum Advanced JavaReplies: 5Last Post: 01202009, 07:47 PM 
given number of points(cordinates) , find max points lie on the same line ?
By Hayzam in forum New To JavaReplies: 2Last Post: 08242008, 12:30 AM 
Calculate X and Y given starting angle and distance
By nidhirastogi in forum Java 2DReplies: 5Last Post: 08182008, 10:24 PM
Bookmarks