Example #1
0
 public static double PointToAngle(Point centerPoint, int x, int y)
 {
     return(Math2.AngleNormalized(Math2.ToAngle(Math.Atan2((double)(y - centerPoint.Y), (double)(x - centerPoint.X)))));
 }