Class Geodesy
java.lang.Object
org.episteme.natural.earth.geodesy.Geodesy
Geodetic calculations for Earth science.
Provides:
- Haversine formula for great-circle distance
- Vincenty formula for high-accuracy geodesic distance
- Bearing calculations
- Destination point given bearing and distance
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Real[]destination(Real lat, Real lon, Real bearingDegrees, Real distanceM) Destination point given start, bearing, and distance.haversineDistance(Real lat1, Real lon1, Real lat2, Real lon2) Haversine formula for great-circle distance.static RealinitialBearing(Real lat1, Real lon1, Real lat2, Real lon2) Initial bearing from point 1 to point 2.static Real[]Midpoint between two coordinates.static RealpressureRatio(Real altitudeM) Barometric formula for atmospheric pressure at altitude.
-
Field Details
-
EARTH_RADIUS_EQUATORIAL
WGS84 Earth equatorial radius (meters) -
EARTH_RADIUS_POLAR
WGS84 Earth polar radius (meters) -
FLATTENING
WGS84 flattening
-
-
Method Details
-
haversineDistance
-
initialBearing
-
destination
-
midpoint
-
pressureRatio
-