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

# Class LatLonNvectorBase

        object --+
                 |
       bases.Named --+
                     |
           bases.Based --+
                         |
    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) 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`, `compassAngle`, `compassAngleTo`, `copy`, `equals`, `equals3`, `equirectangularTo`, `isantipode`, `isantipodeTo`, `isequalTo`, `isequalTo3`, `latlon2round`, `latlon_`, `points`, `to2ab`, `to3llh`, `to3xyz`, `toStr` Inherited from `bases.Based`: `__repr__`, `classof`, `toStr2` 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 `bases.Named`: `classname`, `classnaming`, `name` 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 (string). Returns: None. Raises: `TypeError` - This and type(other) incompatible. Overrides: bases.Based.others

### to4xyzh(self) |
Convert this (geodetic) point to n-vector (normal to the earth's surface) x/y/z components and height. Returns: 4-Tuple (x, y, z, h) in (meter).