Expand description
High-precision WGS84 geodesy and ellipsoidal geometric operations.
Provides Vincenty/Karney geodesics, Bowring closed-form ECEF/geodetic conversion, ENU tangent bases, principal radii of curvature, and authalic polygon area.
Strictly enforces Tier-1 HotZeroHeap (zero allocations in all evaluation paths).
Structs§
- Ecef
Coord - Earth-Centered, Earth-Fixed (ECEF) Cartesian coordinates in meters.
- Geodesic
Direct Result - Result of a direct geodesic computation from a starting point, bearing, and distance.
- Geodesic
Inverse Result - Result of an inverse geodesic computation between two points on the ellipsoid.
- Geodetic
Coord - Geodetic coordinates (latitude, longitude in degrees, ellipsoidal height in meters).
Constants§
Functions§
- ecef_
to_ enu - Transforms an ECEF point to local ENU tangent plane relative to an anchor.
- ecef_
to_ geodetic_ bowring - Converts ECEF coordinates to geodetic coordinates using Bowring’s multi-step refinement.
- enu_
basis - Orthonormal rotation matrix transforming ECEF delta vectors into local ENU
[East, North, Up]. - enu_
to_ ecef - Transforms local ENU coordinates
[East, North, Up]relative to an anchor back into ECEF. - geodesic_
direct - Geodesic direct problem on WGS84.
- geodesic_
intermediate - Computes intermediate waypoint along the geodesic at parametric fraction
[0.0, 1.0]. - geodesic_
inverse - Geodesic inverse problem on WGS84 with antipodal fallback.
- geodesic_
polygon_ area_ m2 - Zero-heap ellipsoidal polygon area in square meters using authalic latitude mapping.
- geodetic_
to_ ecef - Converts geodetic latitude/longitude/altitude to ECEF coordinates.
- ground_
resolution_ m_ per_ px - Web Mercator ground resolution in meters per pixel at a given latitude and zoom level.
- principal_
radii_ of_ curvature - Computes principal radii of curvature in meters:
(meridional_radius_m, prime_vertical_radius_n).