Home | Trees | Indices | Help |
|
---|
|
object --+ | named._Named --+ | named._NamedBase --+ | vector3d.Vector3d --+ | NvectorBase
Base class for ellipsoidal and spherical Nvector
s.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
Properties | |
Ecef Get the ECEF class (EcefKarney or EcefVeness). |
|
H Get the height prefix ( str ).
|
|
datum Get the pass-thru datum ( Datum ) or
None .
|
|
h Get the height above surface ( meter ).
|
|
Inherited from Inherited from Inherited from |
Method Details |
New n-vector normal to the earth's surface.
Example: >>> from pygeodesy.sphericalNvector 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 (geodetic) lat-, longitude in
|
Convert this n-vector to (geodetic) lat-, longitude in
|
Return this n-vector's components as 4-tuple.
|
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 |
Return a string representation of this n-vector. Height component is only included if non-zero.
Example: >>> Nvector(0.5, 0.5, 0.7071).toStr() # (0.5, 0.5, 0.7071) >>> Nvector(0.5, 0.5, 0.7071, 1).toStr(-3) # (0.500, 0.500, 0.707, +1.00) |
Convert this n-vector to a normalized 3-d vector, ignoring the height.
|
Normalize this vector to unit length.
|
Property Details |
EcefGet the ECEF class (EcefKarney or EcefVeness).
|
HGet the height prefix (
|
datumGet the pass-thru datum (
|
hGet the height above surface (
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Feb 7 13:45:17 2020 | http://epydoc.sourceforge.net |