Package pygeodesy :: Module sphericalNvector :: Class Cartesian |
[frames] | no frames]

# Class Cartesian

              object --+
                       |
            named._Named --+
                           |
            named._NamedBase --+
                               |
               vector3d.Vector3d --+
                                   |
         cartesianBase.CartesianBase --+
                                       |
    sphericalBase.CartesianSphericalBase --+
                                           |
                                          Cartesian

Extended to convert geocentric, Cartesian points to Nvector and n-vector-based, spherical LatLon.

Instance Methods
toLatLon(self, **LatLon_and_kwds) Convert this cartesian to an `Nvector`-based geodetic point. |
toNvector(self, **Nvector_and_kwds) Convert this cartesian to Nvector components, including height. |
Inherited from `sphericalBase.CartesianSphericalBase`: `intersections2` Inherited from `cartesianBase.CartesianBase`: `__init__`, `convertDatum`, `destinationXyz`, `to3llh`, `toDatum`, `toEcef`, `toLocal`, `toLtp`, `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`, `iscolinearWith`, `isequalTo`, `minus`, `nearestOn`, `negate`, `others`, `parse`, `plus`, `rotate`, `rotateAround`, `sum`, `times`, `to2ab`, `to2ll`, `to3xyz`, `trilaterate3d2`, `unit` Inherited from `named._NamedBase`: `__repr__`, `__str__`, `toRepr` Inherited from `named._Named`: `_DOT_`, `attrs`, `classof`, `copy`, `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 `vector3d.Vector3d`: `crosserrors`, `euclid`, `length`, `length2`, `x`, `xyz`, `y`, `z` Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2`, `named3`, `named4` Inherited from `object`: `__class__`

Method Details

### toLatLon (self, **LatLon_and_kwds) |
Convert this cartesian to an `Nvector`-based geodetic point. Arguments: `LatLon_and_kwds` - Optional LatLon, `datum` and other keyword arguments. Use `LatLon=...` to override this LatLon class or specify `LatLon=None`. Returns: The geodetic point (LatLon) or if `LatLon` is set to `None`, an Ecef9Tuple`(x, y, z, lat, lon, height, C, M, datum)` with `C` and `M` if available. Raises: `TypeError` - Invalid `LatLon_and_kwds`. Overrides: cartesianBase.CartesianBase.toLatLon

### toNvector (self, **Nvector_and_kwds) |
Convert this cartesian to Nvector components, including height. Arguments: `Nvector_and_kwds` - Optional Nvector, `datum` and other keyword arguments. Use `Nvector=...` to override this Nvector class or specify `Nvector=None`. Returns: The `n-vector` components (Nvector) or if `Nvector` is set to `None`, a Vector4Tuple`(x, y, z, h)` Raises: `TypeError` - Invalid `Nvector_and_kwds`. Overrides: cartesianBase.CartesianBase.toNvector