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

Class LatLonNvectorBase

   object --+            
            |            
 named._Named --+        
                |        
 named._NamedBase --+    
                    |    
latlonBase.LatLonBase --+
                        |
                       LatLonNvectorBase
Known Subclasses:

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

Instance Methods
 
others(self, other, name='other')
Refine the class comparison.
 
toNvector(self, **kwds)
Convert this point to Nvector components, including height.

Inherited from latlonBase.LatLonBase: __eq__, __init__, __ne__, __str__, antipode, bounds, boundsOf, compassAngle, compassAngleTo, equals, equals3, equirectangularTo, euclideanTo, haversineTo, isantipode, isantipodeTo, isequalTo, isequalTo3, latlon2, latlon2round, latlon_, philam2, points, points2, to2ab, to3llh, to3xyz, toCartesian, toEcef, toStr, toVector, toVector3d, vincentysTo

Inherited from named._NamedBase: __repr__, toStr2

Inherited from named._Named: classof, copy

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from latlonBase.LatLonBase: Ecef, datum, height, lat, latlon, latlonheight, lon, philam, philamheight

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

toNvector(self, **kwds)

 

Convert this point to Nvector components, including height.

Parameters:
  • kwds - Optional, additional Nvector keyword arguments, ignored if Nvector=None. Specify Nvector=... to override this Nvector class or set Nvector=None.
Returns:
The Nvector components (Nvector) or a Vector4Tuple(x, y, z, h) if Nvector=None.
Raises:
  • TypeError - Invalid Nvector or kwds.
Overrides: latlonBase.LatLonBase.toNvector