GeoBoxMaker implements BoxMaker { public static double kilometersToRadians(double kilometers) { return kilometers / EARTH_RADIUS_KILOMETERS; } GeoBoxMaker(DistanceUnits units); @Override // http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates Box<N> make(Point<N> center,
            N radius); static double degreesToRadians(double degrees); static double radiansToDegrees(double radians); static double kilometersToRadians(double kilometers); static double milesToRadians(double miles);  }
@Test public void kilometersToRadians() { assertEquals(1D, GeoBoxMaker.kilometersToRadians(GeoBoxMaker.EARTH_RADIUS_KILOMETERS), 0); }