Hot answers tagged

1

Following inc42's comment, I implemented some simple Cartesian acrobatics to obtain the azimuth between two UTM32N points: double[] v12 = {p2.getX() - p1.getX(), p2.getY() - p1.getY()}; double deg = Math.toDegrees(Math.acos(v12[1] / Math.sqrt(v12[0]*v12[0] + v12[1]*v12[1]))); return v12[0]<0.0 ? -deg : deg; Checking the resulting azimuths for 100 ...


Only top voted, non community-wiki answers of a minimum length are eligible