Package pygeodesy :: Module ellipsoidalNvector :: Class Ned
[frames] | no frames]

Class Ned

  object --+            
           |            
named._Named --+        
               |        
named._NamedBase --+    
                   |    
       ltpTuples.Ned --+
                       |
                      Ned

DEPRECATED, use pygeodesy.Ned.

Instance Methods
 
__init__(self, north, east, down, name='')
New Ned vector.
 
toRepr(self, prec=None, fmt='[%s]', sep=', ', **unused)
DEPRECATED, use ltpTuples.Aer.

Inherited from ltpTuples.Ned: to3ned, toStr, toVector3d, toXyz

Inherited from named._NamedBase: __repr__, __str__, others

Inherited from named._Named: _DOT_, attrs, classof, copy, dup, rename, toStr2

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from ltpTuples.Ned: aer4, azimuth, bearing, down, east, elevation, groundrange, length, ltp, ned, ned4, north, slantrange, up, x, xyz, xyz4, xyzLocal, y, z

Inherited from named._Named: classname, classnaming, name, named, named2, named3, named4

Inherited from object: __class__

Method Details

__init__ (self, north, east, down, name='')
(Constructor)

 

New Ned vector.

Arguments:
  • ned - Scalar north component (meter) or local NED (Ned, Ned4Tuple).
  • east - Scalar east component (meter) if scalar ned.
  • down - Scalar down component, normal to inside surface of the ellipsoid or sphere (meter) if scalar ned.
  • ltp - The local tangent plane, (geodetic) origin (Ltp, LocalCartesian).
  • name - Optional name (str).
Raises:
  • TypeError - Invalid ltp.
  • UnitError - Invalid north, east or down.
Overrides: object.__init__
(inherited documentation)

toRepr (self, prec=None, fmt='[%s]', sep=', ', **unused)

 

DEPRECATED, use ltpTuples.Aer.

Return a string representation of this NED vector as length, bearing and elevation.

Arguments:
  • prec - Optional number of decimals, unstripped (int).
  • fmt - Optional enclosing backets format (str).
  • sep - Optional separator between NEDs (str).
Returns:
This Ned as "[L:f, B:degrees360, E:degrees90]" (str).
Decorators:
  • @deprecated_method
Overrides: named._Named.toRepr