Package pygeodesy :: Module nvector :: Class LatLonNvectorBase |
[frames] | no frames]

# Class LatLonNvectorBase

        object --+
                 |
      named._Named --+
                     |
      named._NamedBase --+
                         |
    bases.LatLonHeightBase --+
                             |
                            LatLonNvectorBase

Known Subclasses:
  - ellipsoidalNvector.LatLon
  - , sphericalNvector.LatLon

(INTERNAL) Base class for n-vector-based ellipsoidal and spherical `LatLon` classes.

Instance Methods
others(self, other, name=`'``other``'`) Refine the class comparison. |
to4xyzh(self, h=None) Convert this (geodetic) point to n-vector (normal to the earth's surface) x/y/z components and height. |
Inherited from `bases.LatLonHeightBase`: `__eq__`, `__init__`, `__ne__`, `__str__`, `antipode`, `bounds`, `boundsOf`, `compassAngle`, `compassAngleTo`, `copy`, `equals`, `equals3`, `equirectangularTo`, `euclideanTo`, `haversineTo`, `isantipode`, `isantipodeTo`, `isequalTo`, `isequalTo3`, `latlon2`, `latlon2round`, `latlon_`, `points`, `points2`, `to2ab`, `to3llh`, `to3xyz`, `toStr`, `vincentysTo` Inherited from `named._NamedBase`: `__repr__`, `toStr2` Inherited from `named._Named`: `__copy__`, `classof` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties
Inherited from `bases.LatLonHeightBase`: `height`, `lat`, `latlon`, `lon` Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2` Inherited from `object`: `__class__`

Method Details

### others(self, other, name=`'``other``'`) |
Refine the class comparison. Parameters: `other` - The other point (`LatLon`). `name` - Optional, other's name (`str`). Returns: `None`. Raises: `TypeError` - Incompatible `other` `type`. Overrides: named._NamedBase.others

### to4xyzh(self, h=None) |
Convert this (geodetic) point to n-vector (normal to the earth's surface) x/y/z components and height. Parameters: `h` - Optional height, overriding this point's height (`meter`). Returns: A Vector4Tuple`(x, y, z, h)`, all in (`meter`).