Package pygeodesy :: Module ecef :: Class _EcefBase |
[frames] | no frames]

# Class _EcefBase

      object --+
               |
    named._Named --+
                   |
    named._NamedBase --+
                       |
                      _EcefBase

Known Subclasses:
  - EcefKarney
  - , EcefVeness
  - , EcefYou

(INTERNAL) Base class for EcefKarney, EcefVeness and EcefYou.

Instance Methods
__init__(self, a_ellipsoid, f, name) (INTERNAL) New `Ecef...`. |
forward(self, latlonh, lon=None, height=0, M=False) (INTERNAL) Must be overloaded. |
reverse(self, xyz, y=None, z=None, M=False) (INTERNAL) Must be overloaded. |
toStr(self, prec=9, **unused) Return this `Ecef*` as a string. |
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
| equatoradius Get the equatorial radius, semi-axis (`meter`).
| a Get the equatorial radius, semi-axis (`meter`).
| equatorialRadius Get the equatorial radius, semi-axis (`meter`).
| datum Get the datum (Datum).
| ellipsoid Get the ellipsoid (Ellipsoid or Ellipsoid2).
| flattening Get the flattening (`float`), (a - b) / a, positive for oblate, negative for prolate or `0` for near-spherical.
| f Get the flattening (`float`), (a - b) / a, positive for oblate, negative for prolate or `0` for near-spherical.
Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2`, `named3`, `named4` Inherited from `object`: `__class__`

Method Details

### __init__ (self, a_ellipsoid, f, name) (Constructor) |
(INTERNAL) New `Ecef...`. Overrides: object.__init__

### toStr (self, prec=9, **unused) |
Return this `Ecef*` as a string. Arguments: `prec` - Optional precision, number of decimal digits (0..9). Returns: This `Ecef*` representation (`str`). Raises: `AssertionError` - Always, see function notOverloaded. Overrides: named._Named.toStr

Property Details

### equatoradius Get the equatorial radius, semi-axis (`meter`). Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### a Get the equatorial radius, semi-axis (`meter`). Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### equatorialRadius Get the equatorial radius, semi-axis (`meter`). Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### datum Get the datum (Datum). Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### ellipsoid Get the ellipsoid (Ellipsoid or Ellipsoid2). Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### flattening Get the flattening (`float`), (a - b) / a, positive for oblate, negative for prolate or `0` for near-spherical. Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)

### f Get the flattening (`float`), (a - b) / a, positive for oblate, negative for prolate or `0` for near-spherical. Get method: _fget(inst) Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst)