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

# Class Cartesian

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

Extended to convert geocentric, Cartesian points to Nvector and n-vector-based, geodetic 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 `ellipsoidalBase.CartesianEllipsoidalBase`: `convertRefFrame`, `intersections2`, `toRefFrame`, `toTransforms_` Inherited from `cartesianBase.CartesianBase`: `__init__`, `cassini`, `collins`, `collins5`, `convertDatum`, `destinationXyz`, `hartzell`, `height4`, `pierlot`, `tienstra`, `tienstra7`, `to3llh`, `toDatum`, `toEcef`, `toLocal`, `toLtp`, `toStr`, `toTransform`, `toVector` Inherited from `vector3d.Vector3d`: `circin6`, `circum3`, `circum4_`, `iscolinearWith`, `meeus2`, `nearestOn`, `nearestOn6`, `parse`, `radii11`, `soddy4`, `trilaterate2d2`, `trilaterate3d2` Inherited from `vector3dBase.Vector3dBase`: `__abs__`, `__add__`, `__bool__`, `__cmp__`, `__div__`, `__divmod__`, `__eq__`, `__floordiv__`, `__format__`, `__ge__`, `__gt__`, `__iadd__`, `__idiv__`, `__imatmul__`, `__imul__`, `__int__`, `__isub__`, `__itruediv__`, `__le__`, `__long__`, `__lt__`, `__matmul__`, `__mod__`, `__mul__`, `__ne__`, `__neg__`, `__nonzero__`, `__pos__`, `__pow__`, `__radd__`, `__rdiv__`, `__rdivmod__`, `__rfloordiv__`, `__rmatmul__`, `__rmod__`, `__rmul__`, `__round__`, `__rpow__`, `__rsub__`, `__rtruediv__`, `__sub__`, `__truediv__`, `__trunc__`, `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__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties
| Ecef Get the ECEF class (EcefVeness), lazily.
Inherited from `ellipsoidalBase.CartesianEllipsoidalBase`: `reframe` Inherited from `cartesianBase.CartesianBase`: `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

### 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 is 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 is 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 Example:
    >>> from ellipsoidalNvector import LatLon
    >>> c = Cartesian(3980581, 97, 4966825)
    >>> n = c.toNvector()  # (0.62282, 0.000002, 0.78237, +0.24)

Property Details

### Ecef Get the ECEF class (EcefVeness), lazily. Get method: Ecef(self) - Get the ECEF class (EcefVeness), lazily. Set method: _fset_error(inst, val) - Throws an `AttributeError`, always. Delete Method: _fdel(inst) - Zap the cached/memoized `property` value.