Struct GeodesicLineUnrolledResult
Position along a geodesic with longitude allowed to pass beyond 180 degrees.
struct GeodesicLineUnrolledResult(T)
if (isGeodesyScalar!T);
Use this result when you follow a path across the antimeridian or around
the Earth and want to keep track of the full longitude change. Read
unrolledLongitude as an Angle; unlike a regular Longitude, it can
include complete turns instead of wrapping back into the normal range.
Properties
| Name | Type | Description |
|---|---|---|
finalAzimuth[get]
|
Angle!T | Forward azimuth at the evaluated position. |
latitude[get]
|
Latitude!T | Geodetic latitude at the evaluated position. |
unrolledLongitude[get]
|
Angle!T | Continuous longitude, allowed to extend beyond one revolution. |
Example
Example representing a longitude beyond the ordinary geographic interval.
const value =
GeodesicLineUnrolledResult!double .fromComponents(
Latitude!double .fromDegrees(0.0),
Angle!double .fromDegrees(540.0),
Angle!double .fromDegrees(90.0));
assert(value .unrolledLongitude .degrees == 540.0);