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

# Class Ned

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

North-Eeast-Down (NED), also known as Local Tangent Plane (LTP), is a vector in the local coordinate frame of a body.

Instance Methods
__init__(self, north, east, down, name='') New North-East-Down vector. |
__str__(self) Default `str(self)`. |
to3ned(self) DEPRECATED, use property `ned`. |
toRepr(self, prec=None, fmt='[%s]', sep=', ', **unused) Return a string representation of this NED vector as length, bearing and elevation. |
toStr2(self, prec=None, fmt='[%s]', sep=', ', **unused) DEPRECATED, used method Ned.toRepr. |
toStr(self, prec=3, fmt='[%s]', sep=', ') Return a string representation of this NED vector. |
toVector3d(self) Return this NED vector as a 3-d vector. |
Inherited from `named._Named`: `_DOT_`, `__repr__`, `attrs`, `classof`, `copy` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties
| bearing Get the bearing of this NED vector (compass `degrees360`).
| down Gets the Down component of this NED vector (`meter`).
| east Gets the East component of this NED vector (`meter`).
| elevation Get the elevation, tilt of this NED vector in degrees from horizontal, i.e.
| length Gets the length of this NED vector (`meter`).
| ned Get the `(north, east, down)` components of the NED vector (Ned3Tuple).
| north Gets the North component of this NED vector (`meter`).
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 North-East-Down vector. Arguments: `north` - North component (`meter`). `east` - East component (`meter`). `down` - Down component, normal to the surface of the ellipsoid (`meter`). `name` - Optional name (`str`). Raises: `ValueError` - Invalid `north`, `east` or `down`. Overrides: object.__init__ Example:
    >>> from ellipsiodalNvector import Ned
    >>> delta = Ned(110569, 111297, 1936)
    >>> delta.toStr(prec=0)  #  [N:110569, E:111297, D:1936]

### __str__ (self) (Informal representation operator) |
Default `str(self)`. Overrides: object.__str__ (inherited documentation)

### to3ned (self) |
DEPRECATED, use property `ned`. Returns: An Ned3Tuple`(north, east, down)`.

### toRepr (self, prec=None, fmt='[%s]', sep=', ', **unused) |
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`). Overrides: named._Named.toRepr

### toStr2 (self, prec=None, fmt='[%s]', sep=', ', **unused) |
DEPRECATED, used method Ned.toRepr. 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`). Overrides: named._Named.toRepr

### toStr (self, prec=3, fmt='[%s]', sep=', ') |
Return a string representation of this NED vector. Arguments: `prec` - Optional number of decimals, unstripped (`int`). `fmt` - Optional enclosing backets format (`str`). `sep` - Optional separator between NEDs (`str`). Returns: This Ned as "[N:f, E:f, D:f]" (`str`). Overrides: named._Named.toStr

### toVector3d (self) |
Return this NED vector as a 3-d vector. Returns: The vector(north, east, down) (Vector3d).

Property Details

### bearing Get the bearing of this NED vector (compass `degrees360`). Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### down Gets the Down component of this NED vector (`meter`). Get method: down(self) - Gets the Down component of this NED vector (`meter`). Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### east Gets the East component of this NED vector (`meter`). Get method: east(self) - Gets the East component of this NED vector (`meter`). Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### elevation Get the elevation, tilt of this NED vector in degrees from horizontal, i.e. tangent to ellipsoid surface (`degrees90`). Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### length Gets the length of this NED vector (`meter`). Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### ned Get the `(north, east, down)` components of the NED vector (Ned3Tuple). Get method: ned(self) - Get the `(north, east, down)` components of the NED vector (Ned3Tuple). Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### north Gets the North component of this NED vector (`meter`). Get method: north(self) - Gets the North component of this NED vector (`meter`). Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)