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....
 
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
An immutable property (Read Only).
  equatorialRadius
An immutable property (Read Only).
  datum
An immutable property (Read Only).
  ellipsoid
An immutable property (Read Only).
  f
An immutable property (Read Only).
  flattening
An immutable property (Read Only).

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* representation (str).
Raises:
Overrides: named._Named.toStr

Property Details

a

An immutable property (Read Only).

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

equatorialRadius

An immutable property (Read Only).

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

datum

An immutable property (Read Only).

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

ellipsoid

An immutable property (Read Only).

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

f

An immutable property (Read Only).

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

flattening

An immutable property (Read Only).

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