| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
named._Named --+
|
named._NamedBase --+
|
vector3dBase.Vector3dBase --+
|
vector3d.Vector3d --+
|
nvectorBase.NvectorBase --+
|
Nvector
An n-vector is a position representation using a (unit) vector normal to the earth ellipsoid. Unlike lat-/longitude points, n-vectors have no singularities or discontinuities.
For many applications, n-vectors are more convenient to work with than other position representations like lat-/longitude, earth-centred earth-fixed (ECEF) vectors, UTM coordinates, etc.
Note commonality with sphericalNvector.Nvector.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
| Properties | |
|
datum Get this n-vector's datum (Datum). |
|
|
Inherited from Inherited from Inherited from Inherited from |
|
| Method Details |
New n-vector normal to the earth's surface.
Example: >>> from ellipsoidalNvector import Nvector >>> v = Nvector(0.5, 0.5, 0.7071, 1) >>> v.toLatLon() # 45.0°N, 045.0°E, +1.00m |
Convert this n-vector to
Example: >>> v = Nvector(0.5, 0.5, 0.7071) >>> c = v.toCartesian() # [3194434, 3194434, 4487327] >>> p = c.toLatLon() # 45.0°N, 45.0°E |
Convert this n-vector to an
Example: >>> v = Nvector(0.5, 0.5, 0.7071) >>> p = v.toLatLon() # 45.0°N, 45.0°E |
Normalize this vector to unit length.
|
| Property Details |
datumGet this n-vector's datum (Datum).
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Aug 2 15:17:38 2021 | http://epydoc.sourceforge.net |