Package pygeodesy :: Module ellipsoidalBase :: Class CartesianEllipsoidalBase |
[frames] | no frames]

# Class CartesianEllipsoidalBase

         object --+
                  |
       named._Named --+
                      |
       named._NamedBase --+
                          |
          vector3d.Vector3d --+
                              |
    cartesianBase.CartesianBase --+
                                  |
                                 CartesianEllipsoidalBase

Known Subclasses:
  - ellipsoidalKarney.Cartesian
  - , ellipsoidalNvector.Cartesian
  - , ellipsoidalVincenty.Cartesian

(INTERNAL) Base class for ellipsoidal `Cartesian`s.

Instance Methods
convertRefFrame(self, reframe2, reframe, epoch=None) Convert this cartesian point from one to an other reference frame. |
Inherited from `cartesianBase.CartesianBase`: `__init__`, `convertDatum`, `to3llh`, `toEcef`, `toLatLon`, `toNvector`, `toStr`, `toVector` Inherited from `vector3d.Vector3d`: `__abs__`, `__add__`, `__cmp__`, `__div__`, `__eq__`, `__ge__`, `__gt__`, `__le__`, `__lt__`, `__matmul__`, `__mul__`, `__ne__`, `__neg__`, `__pos__`, `__radd__`, `__rmatmul__`, `__rsub__`, `__sub__`, `__truediv__`, `angleTo`, `cmp`, `cross`, `dividedBy`, `dot`, `equals`, `isequalTo`, `minus`, `negate`, `others`, `parse`, `plus`, `rotate`, `rotateAround`, `sum`, `times`, `to2ab`, `to2ll`, `to3xyz`, `unit` Inherited from `named._NamedBase`: `__repr__`, `__str__`, `toRepr` Inherited from `named._Named`: `_dot_`, `attrs`, `classof`, `copy`, `toStr2` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties
Inherited from `cartesianBase.CartesianBase`: `Ecef`, `datum`, `height`, `isEllipsoidal`, `isSpherical`, `latlon`, `latlonheight`, `latlonheightdatum`, `philam`, `philamheight`, `philamheightdatum` Inherited from `vector3d.Vector3d`: `crosserrors`, `length`, `x`, `xyz`, `y`, `z` Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2` Inherited from `object`: `__class__`

Method Details

### convertRefFrame (self, reframe2, reframe, epoch=None) |
Convert this cartesian point from one to an other reference frame. Arguments: `reframe2` - Reference frame to convert to (RefFrame). `reframe` - Reference frame to convert from (RefFrame). `epoch` - Optional epoch to observe for `reframe`, a fractional calendar year (`scalar`). Returns: The converted point (`Cartesian`) or this point if conversion is `nil`. Raises: `TRFError` - No conversion available from `reframe` to `reframe2`. `TypeError` - `reframe2` or `reframe` not a RefFrame or `epoch` not `scalar`.