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

# Class CartesianEllipsoidalBase

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

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

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

Instance Methods
convertRefFrame(self, reframe2, reframe, epoch=None) DEPRECATED, use method toRefFrame. |
intersections2(self, radius, center2, radius2, sphere=True, Vector=None, **Vector_kwds) Compute the intersection of two spheres or circles, each defined by a cartesian center point and a radius. |
toRefFrame(self, reframe2, reframe, epoch=None) Convert this cartesian point from one to an other reference frame. |
Inherited from `cartesianBase.CartesianBase`: `__init__`, `convertDatum`, `destinationXyz`, `hartzell`, `height4`, `to3llh`, `toDatum`, `toEcef`, `toLatLon`, `toLocal`, `toLtp`, `toNvector`, `toStr`, `toVector` Inherited from `vector3d.Vector3d`: `circin6`, `circum3`, `circum4_`, `iscolinearWith`, `meeus2`, `nearestOn`, `nearestOn6`, `parse`, `radii11`, `soddy4`, `trilaterate2d2`, `trilaterate3d2` Inherited from `vector3dBase.Vector3dBase`: `__abs__`, `__add__`, `__cmp__`, `__div__`, `__eq__`, `__ge__`, `__gt__`, `__le__`, `__lt__`, `__matmul__`, `__mul__`, `__ne__`, `__neg__`, `__pos__`, `__radd__`, `__rmatmul__`, `__rsub__`, `__sub__`, `__truediv__`, `angleTo`, `apply`, `cmp`, `cross`, `dividedBy`, `dot`, `equals`, `equirectangular`, `intermediateTo`, `isconjugateTo`, `isequalTo`, `minus`, `negate`, `others`, `plus`, `rotate`, `rotateAround`, `sum`, `times`, `times_`, `to2ab`, `to2ll`, `to3xyz`, `unit` Inherited from `named._NamedBase`: `__repr__`, `__str__`, `toRepr` Inherited from `named._Named`: `_DOT_`, `attrs`, `classof`, `copy`, `dup`, `rename`, `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 `vector3dBase.Vector3dBase`: `crosserrors`, `euclid`, `length`, `length2`, `x`, `x2y2z2`, `xyz`, `y`, `z` Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2`, `named3`, `named4` Inherited from `object`: `__class__`

Method Details

### convertRefFrame (self, reframe2, reframe, epoch=None) |
DEPRECATED, use method toRefFrame. Decorators: `@deprecated_method`

### intersections2 (self, radius, center2, radius2, sphere=True, Vector=None, **Vector_kwds) |
Compute the intersection of two spheres or circles, each defined by a cartesian center point and a radius. Arguments: `radius` - Radius of this sphere or circle (same units as this point's coordinates). `center2` - Center of the second sphere or circle (`Cartesian`, Vector3d, `Vector3Tuple` or `Vector4Tuple`). `radius2` - Radius of the second sphere or circle (same units as this and the `other` point's coordinates). `sphere` - If `True` compute the center and radius of the intersection of two spheres. If `False`, ignore the `z`-component and compute the intersection of two circles (`bool`). `Vector` - Class to return intersections (`Cartesian`, Vector3d or `Vector3Tuple`) or `None` for an instance of this (sub-)class. `Vector_kwds` - Optional, additional `Vector` keyword arguments, ignored if `Vector is None`. Returns: If `sphere` is `True`, a 2-tuple of the `center` and `radius` of the intersection of the spheres. The `radius` is `0.0` for abutting spheres (and the `center` is aka radical center). If `sphere` is `False`, a 2-tuple with the two intersection points of the circles. For abutting circles, both points are the same instance, aka radical center. Raises: `IntersectionError` - Concentric, invalid or non-intersecting spheres or circles. `TypeError` - Invalid `center2`. `UnitError` - Invalid `radius` or `radius2`. See Also: Sphere-Sphere, Circle-Circle Intersection and function pygeodesy.radical2.

### toRefFrame (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 (`scalar`, fractional calendar year), overriding `reframe`'s epoch. Returns: The converted point (`Cartesian`) or this point if conversion is `nil`. Raises: `TRFError` - No conversion available from `reframe` to `reframe2` or invalid `epoch`. `TypeError` - `reframe2` or `reframe` not a RefFrame.