Class: Ned

latlon-nvector-ellipsoidal~Ned

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:

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.
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

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