Class: Ned

latlon-nvector-ellipsoidal~Ned(north, east, down)

North-east-down (NED), also known as local tangent plane (LTP), is a vector in the local coordinate frame of a body.

Constructor

new Ned(north, east, down)

Creates North-East-Down vector.
Parameters:
Name Type Description
north number North component in metres.
east number East component in metres.
down number Down component (normal to the surface of the ellipsoid) in metres.
Source:
Example
import { Ned } from '/js/geodesy/latlon-nvector-ellipsoidal.js';
  const delta = new Ned(110569, 111297, 1936); // [N:110569,E:111297,D:1936]

Members

bearing

Bearing of NED vector.
Source:

elevation

Elevation of NED vector.
Source:

length

Length of NED vector.
Source:

Methods

(static) fromDistanceBearingElevation(dist, brng, elev) → {Ned}

Creates North-East-Down vector from distance, bearing, & elevation (in local coordinate system).
Parameters:
Name Type Description
dist number Length of NED vector in metres.
brng number Bearing (in degrees from north) of NED vector .
elev number Elevation (in degrees from local coordinate frame horizontal) of NED vector.
Source:
Returns:
North-East-Down vector equivalent to distance, bearing, elevation.
Type
Ned
Example
const delta = Ned.fromDistanceBearingElevation(116809.178, 222.493, -0.5416); // [N:-86127,E:-78901,D:1104]

toString(dpopt) → {string}

Returns a string representation of ‘this’ NED vector.
Parameters:
Name Type Attributes Default Description
dp number <optional>
0 Number of decimal places to display.
Source:
Returns:
Comma-separated (labelled) n, e, d values.
Type
string