@Test public void testAngleRanges () { Assert.assertEquals( 1.0, AngleUtilities.intoRangeDegrees(0.0, 361.0), EPSILON); Assert.assertEquals(-180.0, AngleUtilities.intoRangeDegrees(0.0, 180.0), EPSILON); Assert.assertEquals(-180.0, AngleUtilities.intoRangeDegrees(0.0, -180.0), EPSILON); Assert.assertEquals( -1.0, AngleUtilities.intoRangeDegrees(0.0, 359.0), EPSILON); }
public static double intoRangeDegrees (double center, double angle) { return intoRange(center, angle, 360); }
AngleUtilities { public static double intoRangeDegrees (double center, double angle) { return intoRange(center, angle, 360); } }
AngleUtilities { public static double intoRangeDegrees (double center, double angle) { return intoRange(center, angle, 360); }  }
AngleUtilities { public static double intoRangeDegrees (double center, double angle) { return intoRange(center, angle, 360); }  static double fromDMS(double degrees, double minutes, double seconds); static double intoRangeDegrees(double center, double angle); static double intoRangeRadians(double center, double angle); static double intoRange(double center, double number, double modulus); }
AngleUtilities { public static double intoRangeDegrees (double center, double angle) { return intoRange(center, angle, 360); }  static double fromDMS(double degrees, double minutes, double seconds); static double intoRangeDegrees(double center, double angle); static double intoRangeRadians(double center, double angle); static double intoRange(double center, double number, double modulus);  }