Package pygeodesy :: Module ellipsoids :: Class Ellipsoid2 |
[frames] | no frames]

# Class Ellipsoid2

      object --+
               |
    named._Named --+
                   |
    named._NamedBase --+
                       |
    named._NamedEnumItem --+
                           |
                   Ellipsoid --+
                               |
                              Ellipsoid2

Like Ellipsoid, but specified by equatorial radius and flattening.

Instance Methods
__init__(self, a, f, name='') New Ellipsoid2. |
Inherited from `Ellipsoid`: `Llat`, `Lmeridian`, `Rgeocentric`, `Rlat`, `__eq__`, `_hubeny2_`, `auxAuthalic`, `auxConformal`, `auxGeocentric`, `auxIsometric`, `auxParametric`, `auxRectifying`, `auxReduced`, `degrees2m`, `distance2`, `e2s`, `e2s2`, `ecef`, `es_atanh`, `es_tauf`, `es_taupf`, `m2degrees`, `roc1_`, `roc2`, `roc2_`, `rocBearing`, `rocGauss`, `rocMean`, `rocMeridional`, `rocPrimeVertical`, `rocTransverse`, `toStr` Inherited from `named._NamedEnumItem`: `__ne__`, `unregister` Inherited from `named._NamedBase`: `__repr__`, `__str__`, `others`, `toRepr` Inherited from `named._Named`: `_DOT_`, `attrs`, `classof`, `copy`, `toStr2` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Class Variables
Inherited from `Ellipsoid`: `_a2_`, `_f_`

Properties
Inherited from `Ellipsoid`: `A`, `AlphaKs`, `BetaKs`, `KsOrder`, `L`, `Mabcd`, `R1`, `R2`, `R3`, `Rauthalic`, `Rbiaxial`, `Requatorial`, `Rgeometric`, `Rmean`, `Rpolar`, `Rquadratic`, `Rr`, `Rrectifying`, `Rs`, `Rvolumetric`, `a`, `a2`, `a2_`, `a2_b`, `a2_b2`, `a_b`, `a_f`, `area`, `b`, `b2`, `b2_a`, `b2_a2`, `b_a`, `c`, `e`, `e12`, `e2`, `e22`, `e22abs`, `e2abs`, `e32`, `e32abs`, `e4`, `eccentricity`, `eccentricity2`, `eccentricity2nd2`, `eccentricity3rd2`, `equatoradius`, `es`, `es_c`, `f`, `f2`, `f_`, `flattening`, `flattening2nd`, `flattening3rd`, `geodesic`, `isEllipsoidal`, `isOblate`, `isProlate`, `isSpherical`, `majoradius`, `minoradius`, `n`, `polaradius`, `quarteradius`, `rocPolar`, `volume` Inherited from `named._NamedEnumItem`: `name` Inherited from `named._Named`: `classname`, `classnaming`, `named`, `named2`, `named3`, `named4` Inherited from `object`: `__class__`

Method Details

### __init__ (self, a, f, name='') (Constructor) |
New Ellipsoid2. Arguments: `a` - Equatorial radius, semi-axis (`meter`). `f` - Flattening: (`float` < 1.0, negative for prolate). `name` - Optional, unique name (`str`). Raises: `NameError` - Ellipsoid with that `name` already exists. `ValueError` - Invalid `a` or `f`. Overrides: object.__init__ Note: `abs(f) < EPS` is forced to `f=0`, spherical. Negative `f` produces a prolate ellipsoid.