Structs§
- Euclidean
- Operations on the Euclidean plane measure distance with the pythagorean formula - what you’d measure with a ruler.
- Geodesic
Measure - Use the
Geodesic
constant (an instance ofGeodesicMeasure
) rather than building your own customizedGeodesicMeasure
for standard ellipsoidal Earth measurements. - Haversine
Measure - Use the
Haversine
constant (an instance ofHaversineMeasure
) rather than building your own customizedHaversineMeasure
for standard spherical Earth measurements. - Rhumb
- Provides rhumb line (a.k.a. loxodrome) geometry operations. A rhumb line appears as a straight line on a Mercator projection map.
Constants§
- Haversine
Haversine
measures distance on a sphere using the haversine formula. Distances are considered great circle lengths and given in meters.
Statics§
- Geodesic
- Measures distance on an ellipsoidal model of the Earth using methods given by Karney (2013).