Module geodesy.angle
Strong angular and geographic angular-coordinate value types.
This module separates unrestricted finite angles from latitude and longitude domains so callers cannot accidentally substitute raw scalars for geographic angular concepts. Values are stored canonically in radians while explicit factories support radians and degrees. Latitude and longitude own their public domain and canonicalization rules.
Domain
Angle accepts every finite represented angle. Latitude is bounded
to the geographic latitude interval. Longitude exposes the documented
geographic input interval and a unique normalized representation.
Units
Canonical storage is radians. Degree conversion is explicit at the API boundary.
Performance
Value construction, conversion, and access require no allocation.
See Also
GeographicCoordinate, GeodeticCoordinate
Date
September 26, 2026
Structs
| Name | Description |
|---|---|
Angle
|
A finite angle stored canonically in radians. |
Latitude
|
Geodetic latitude in the closed interval [-pi/2, +pi/2] radians. |
Longitude
|
Geodetic longitude in the closed interval [-pi,+pi] radians. |