Function TopocentricCoordinate.fromComponents
Construct finite East/North/Up components.
Parameters
| Name | Description |
|---|---|
| east | Finite East component in the frame linear unit. |
| north | Finite North component in the same linear unit. |
| up | Finite Up component in the same linear unit. |
Returns
The local coordinate.
Throws
GeodesyValueException when any component is non-finite.
Example
Example constructing a local ENU coordinate.
import geodesy;
const local = TopocentricCoordinate!double .fromComponents(
12.5, -3.0, 1.25);
assert(local .up == 1.25);