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

Class _EcefBase

  object --+        
           |        
named._Named --+    
               |    
named._NamedBase --+
                   |
                  _EcefBase
Known Subclasses:

(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)
Return this Ecef* as a string.

Inherited from named._NamedBase: __repr__, __str__, others, toStr2

Inherited from named._Named: _dot_, attrs, classof, copy

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties
  a
  equatorialRadius
  datum
  ellipsoid
  f
  flattening

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.

Arguments:
  • prec - Optional precision, number of decimal digits (0..9).
Returns:
This Ecef* representation (str).
Raises:
Overrides: named._Named.toStr

Property Details

a

Get method:
a(self) - Get E.a, the major, equatorial radius (meter).
Set method:
immutable(inst, value) - Throws an AttributeError, always.

equatorialRadius

Get method:
a(self) - Get E.a, the major, equatorial radius (meter).
Set method:
immutable(inst, value) - Throws an AttributeError, always.

datum

Get method:
datum(self) - Get the datum (Datum or None if not available).
Set method:
immutable(inst, value) - Throws an AttributeError, always.

ellipsoid

Get method:
ellipsoid(self) - Get E, the ellipsoid (Ellipsoid).
Set method:
immutable(inst, value) - Throws an AttributeError, always.

f

Get method:
f(self) - Get E.f, the flattening (float), zero for sphere.
Set method:
immutable(inst, value) - Throws an AttributeError, always.

flattening

Get method:
f(self) - Get E.f, the flattening (float), zero for sphere.
Set method:
immutable(inst, value) - Throws an AttributeError, always.