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 An immutable property ( Read Only ).
|
|
H Property to get and set the height prefix ( str ).
|
|
datum An immutable property ( Read Only ).
|
|
h Property to get and set the height above surface ( meter ).
|
|
isEllipsoidal An immutable property ( Read Only ).
|
|
isSpherical An immutable property ( Read Only ).
|
|
lam An immutable property ( Read Only ).
|
|
lat An immutable property ( Read Only ).
|
|
latlon An immutable property ( Read Only ).
|
|
latlonheight An immutable property ( Read Only ).
|
|
lon An immutable property ( Read Only ).
|
|
phi An immutable property ( Read Only ).
|
|
philam An immutable property ( Read Only ).
|
|
philamheight An immutable property ( Read Only ).
|
|
xyzh An immutable property ( Read Only ).
|
|
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 |
DEPRECATED, use property
|
DEPRECATED, use property
|
DEPRECATED, use method
|
DEPRECATED, use property
|
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 3-D vector, ignoring the height.
|
Normalize this n-vector to unit length.
|
Property Details |
EcefAn immutable property (
|
HProperty to get and set the height prefix (
|
datumAn immutable property (
|
hProperty to get and set the height above surface
(
|
isEllipsoidalAn immutable property (
|
isSphericalAn immutable property (
|
lamAn immutable property (
|
latAn immutable property (
|
latlonAn immutable property (
|
latlonheightAn immutable property (
|
lonAn immutable property (
|
phiAn immutable property (
|
philamAn immutable property (
|
philamheightAn immutable property (
|
xyzhAn immutable property (
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Mar 16 12:12:53 2020 | http://epydoc.sourceforge.net |