@Test public void testCalcDiff_FR_FL() { assertEquals(763.0076012446141, GeoUtil.calcDistance(freiburg, flensburg).getValue(KILOMETERS), 0.0); }
public static Distance calcDistance(Coordinate coord1, Coordinate coord2) { return DefaultDistance.of( calcMeters(coord1.getLatitude(), coord1.getLongitude(), coord2.getLatitude(), coord2.getLongitude()), DistanceUnit.METERS); }
GeoUtil { public static Distance calcDistance(Coordinate coord1, Coordinate coord2) { return DefaultDistance.of( calcMeters(coord1.getLatitude(), coord1.getLongitude(), coord2.getLatitude(), coord2.getLongitude()), DistanceUnit.METERS); } }
GeoUtil { public static Distance calcDistance(Coordinate coord1, Coordinate coord2) { return DefaultDistance.of( calcMeters(coord1.getLatitude(), coord1.getLongitude(), coord2.getLatitude(), coord2.getLongitude()), DistanceUnit.METERS); } private  GeoUtil(); }
GeoUtil { public static Distance calcDistance(Coordinate coord1, Coordinate coord2) { return DefaultDistance.of( calcMeters(coord1.getLatitude(), coord1.getLongitude(), coord2.getLatitude(), coord2.getLongitude()), DistanceUnit.METERS); } private  GeoUtil(); static Distance calcDistance(Coordinate coord1, Coordinate coord2); static double calcMeters(double lat1, double lon1, double lat2,
			double lon2); static double bearing(Coordinate coord1, Coordinate coord2); static double bearing(double lat1, double lon1, double lat2,
			double lon2); static BearingInfo bearingInfo(Coordinate coord1, Coordinate coord2); static Coordinate project(BearingInfo bearing, Coordinate startCoords); }
GeoUtil { public static Distance calcDistance(Coordinate coord1, Coordinate coord2) { return DefaultDistance.of( calcMeters(coord1.getLatitude(), coord1.getLongitude(), coord2.getLatitude(), coord2.getLongitude()), DistanceUnit.METERS); } private  GeoUtil(); static Distance calcDistance(Coordinate coord1, Coordinate coord2); static double calcMeters(double lat1, double lon1, double lat2,
			double lon2); static double bearing(Coordinate coord1, Coordinate coord2); static double bearing(double lat1, double lon1, double lat2,
			double lon2); static BearingInfo bearingInfo(Coordinate coord1, Coordinate coord2); static Coordinate project(BearingInfo bearing, Coordinate startCoords);  }