Home | Trees | Indices | Help |
|
---|
|
object --+ | bases.Base --+ | vector3d.Vector3d --+ | nvector.Nvector --+ | Nvector
An n-vector is a position representation using a (unit) vector normal to the earth's surface. 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.
On a spherical model earth, an n-vector is equivalent to an earth-centred earth-fixed (ECEF) vector.
Note commonality with ellipsoidalNvector.Nvector.
Instance Methods | |||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
Class Variables | |
Inherited from |
Properties | |
Inherited from Inherited from Inherited from |
Method Details |
Converts this n-vector to a (spherical geodetic) point.
Example: >>> v = Nvector(0.5, 0.5, 0.7071) >>> p = v.toLatLon() # 45.0°N, 45.0°E |
Computes n-vector normal to great circle obtained by heading on given compass bearing from this point as its n-vector. Direction of vector is such that initial bearing vector b = c × p.
Example: >>> n = LatLon(53.3206, -1.7297).toNvector() >>> gc = n.greatCircle(96.0) # [-0.794, 0.129, 0.594] |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 30 11:06:30 2017 | http://epydoc.sourceforge.net |