question: public static double angle ( Coordinate p ) { return Math . atan2 ( p . y , p . x ) ; }
target:  Returns the angle that the vector from (0,0) to p, relative to the positive X-axis. The angle is normalized to be in the range ( -Pi, Pi ].