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

# Class Ltp

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

Known Subclasses:
  - ChLV

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`: `__eq__`, `forward`, `reset`, `reverse`, `toStr` Inherited from `named._NamedBase`: `__repr__`, `__str__`, `others`, `toRepr` Inherited from `named._Named`: `__imatmul__`, `__matmul__`, `__rmatmul__`, `attrs`, `classof`, `copy`, `dup`, `methodname`, `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`, `latlonheight0`, `lon0` Inherited from `named._Named`: `classname`, `classnaming`, `iteration`, `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` - The (geodetic) origin (`LatLon`, LatLon4Tuple, Ltp or Ecef9Tuple) or latitude of the (goedetic) origin (`degrees`). `lon0` - Optional longitude of the (goedetic) origin for `scalar` `latlonh0` and `height0` (`degrees`). `height0` - Optional origin height (`meter`), vertically above (or below) the surface of the ellipsoid. `ecef` - Optional ECEF converter (EcefKarney, EcefFarrell21, EcefFarrell22, EcefSudano, EcefVeness or EcefYou instance), overriding the default EcefKarney`(datum=Datums.WGS84)`. `name` - Optional name (`str`). Returns: New instance (`Ltp`). Raises: `LocalError` - If `latlonh0` not `LatLon`, LatLon4Tuple, Ltp or Ecef9Tuple or `latlonh0`, `lon0` or `height0` invalid, non-`scalar`. `TypeError` - Invalid `ecef`. Overrides: object.__init__ Note: If B`latlonh0` is an Ltp, only the lat-, longitude and height are duplicated, not the ECEF converter.

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 (`Ecef...` instance). Delete Method: _fdel(inst) - Zap the cached/memoized `property` value.