On 11 April 2010 02:44, Pyro14 wrote: > > can anybody tell me how to calculate the angle between 3 points? >
JTS (used by GeoTools for geometry operations) includes an Angle class which has a method for this: Coordinate c0 = ... Coordinate c1 = ... Coordinate c2 = ... double angle = Angle.interiorAngle(c0, c1, c2) This works at double precision. Andy's vector methods working at arbitrary precision sound very cool ! Michael ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
