Package pygeodesy :: Module ltp :: Class Ltp |
[frames] | no frames]

# Class Ltp

      object --+
               |
    named._Named --+
                   |
    named._NamedBase --+
                       |
          LocalCartesian --+
                           |
                          Ltp

A local tangent plan LTP, a sub-class of `LocalCartesian` with configurable ECEF converter and without optional rotation matrix.

Instance Methods
__init__(self, latlonh0=0, lon0=0, height0=0, ecef=None, name='') New `Ltp`. |
Inherited from `LocalCartesian`: `forward`, `reset`, `reverse`, `toStr` Inherited from `named._NamedBase`: `__repr__`, `__str__`, `others`, `toRepr` Inherited from `named._Named`: `_DOT_`, `attrs`, `classof`, `copy`, `rename`, `toStr2` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties
| ecef Get this LTP's ECEF converter (`Ecef...` instance).
Inherited from `LocalCartesian`: `M`, `datum`, `height0`, `lat0`, `lon0` Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2`, `named3`, `named4` Inherited from `object`: `__class__`

Method Details

### __init__ (self, latlonh0=0, lon0=0, height0=0, ecef=None, name='') (Constructor) |
New `Ltp`. Arguments: `latlonh0` - Either a `LatLon`, Ltp, Ecef9Tuple or `scalar` latitude of the (goedetic) origin (`degrees`). `lon0` - Optional `scalar` longitude of the (goedetic) origin for `scalar` `latlonh0` (`degrees`). `height0` - Optional origin height (`meter`), vertically above (or below) the surface of the ellipsoid. `ecef` - Optional ECEF converter (EcefKarney, l{EcefFarrell21}, EcefFarrell22, EcefSudano, EcefVeness or EcefYou instance), overriding default EcefKarney`(datum=Datums.WGS84)`. `name` - Optional name (`str`). Returns: New instance (`Ltp`). Raises: `LocalError` - If `latlonh0` not `LatLon`, Ecef9Tuple, `scalar` or invalid or if `lon0` not `scalar` for `scalar` `latlonh0` or invalid or if `height0` invalid. `TypeError` - Invalid `ecef`. Overrides: object.__init__

Property Details

### ecef Get this LTP's ECEF converter (`Ecef...` instance). Get method: ecef(self) - Get this LTP's ECEF converter (`Ecef...` instance). Set method: ecef(self, ecef) - Set this LTP's ECEF converter. Delete Method: _fdel(inst) - Zap the cached/memoized `property` value.