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 and EcefYou.

Instance Methods
__init__(self, a_ellipsoid, f, name) (INTERNAL) New `Ecef...`. |
toStr(self, prec=9) Return this ECEF as a string. |
Inherited from `named._NamedBase`: `__repr__`, `__str__`, `others`, `toStr2` Inherited from `named._Named`: `__copy__`, `classof`, `copy` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties
| a Get `E.a`, the major, equatorial radius (`meter`).
| equatorialRadius Get `E.a`, the major, equatorial radius (`meter`).
| datum Get the datum (Datum) or `None`.
| ellipsoid Get `E`, the ellipsoid (Ellipsoid).
| f Get `E.f`, the flattening (`float`), zero for sphere.
| flattening Get `E.f`, the flattening (`float`), zero for sphere.
Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2` Inherited from `object`: `__class__`

Method Details

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

### toStr(self, prec=9) |
Return this ECEF as a string. Parameters: `prec` - Optional precision, number of decimal digits (0..9). Returns: This ECEF as `str`. Overrides: named._Named.toStr

Property Details

### a Get `E.a`, the major, equatorial radius (`meter`). Get Method: a(self) - Get `E.a`, the major, equatorial radius (`meter`). Set Method: Read_Only(self, ignored) - Throws an `AttributeError`, always.

### equatorialRadius Get `E.a`, the major, equatorial radius (`meter`). Get Method: a(self) - Get `E.a`, the major, equatorial radius (`meter`). Set Method: Read_Only(self, ignored) - Throws an `AttributeError`, always.

### datum Get the datum (Datum) or `None`. Get Method: datum(self) - Get the datum (Datum) or `None`. Set Method: Read_Only(self, ignored) - Throws an `AttributeError`, always.

### ellipsoid Get `E`, the ellipsoid (Ellipsoid). Get Method: ellipsoid(self) - Get `E`, the ellipsoid (Ellipsoid). Set Method: Read_Only(self, ignored) - Throws an `AttributeError`, always.

### f Get `E.f`, the flattening (`float`), zero for sphere. Get Method: f(self) - Get `E.f`, the flattening (`float`), zero for sphere. Set Method: Read_Only(self, ignored) - Throws an `AttributeError`, always.

### flattening Get `E.f`, the flattening (`float`), zero for sphere. Get Method: f(self) - Get `E.f`, the flattening (`float`), zero for sphere. Set Method: Read_Only(self, ignored) - Throws an `AttributeError`, always.