Home | Trees | Indices | Help |
|
---|
|
object --+ | named._Named --+ | named._NamedBase --+ | vector3dBase.Vector3dBase --+ | vector3d.Vector3d --+ | NvectorBase
Base class for ellipsoidal and spherical Nvector
s.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
Properties | |
Ecef Get the ECEF class (EcefKarney), lazily. |
|
H (INTERNAL) Class property with retrievable name.
|
|
datum Get the pass-thru datum ( Datum ) or
None .
|
|
h (INTERNAL) Class property with retrievable name.
|
|
isEllipsoidal Check whether this n-vector is ellipsoidal ( bool or
None if unknown).
|
|
isSpherical Check whether this n-vector is spherical ( bool or
None if unknown).
|
|
lam Get the (geodetic) longitude in radians
(float ).
|
|
lat Get the (geodetic) latitude in degrees
(float ).
|
|
latlon Get the (geodetic) lat-, longitude in degrees (LatLon2Tuple(lat, lon) ).
|
|
latlonheight Get the (geodetic) lat-, longitude in degrees and height
(LatLon3Tuple(lat, lon, height) ).
|
|
latlonheightdatum Get the lat-, longitude in degrees with height and datum
(LatLon4Tuple(lat, lon, height, datum) ).
|
|
lon Get the (geodetic) longitude in degrees
(float ).
|
|
phi Get the (geodetic) latitude in radians
(float ).
|
|
philam Get the (geodetic) lat-, longitude in radians (PhiLam2Tuple(phi, lam) ).
|
|
philamheight Get the (geodetic) lat-, longitude in radians and height
(PhiLam3Tuple(phi, lam, height) ).
|
|
philamheightdatum Get the lat-, longitude in radians with height and datum
(PhiLam4Tuple(phi, lam, height, datum) ).
|
|
xyzh Get this n-vector's components (Vector4Tuple (x, y, z, h) )
|
|
Inherited from 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 |
Return a string for the height
See Also: Function pygeodesy.hstr. |
DEPRECATED, use property philam.
|
DEPRECATED, use property latlon.
|
DEPRECATED, use property philamheight or
|
DEPRECATED, use property
|
DEPRECATED, use property xyzh or
|
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 |
EcefGet the ECEF class (EcefKarney), lazily.
|
H(INTERNAL) Class
|
datumGet the pass-thru datum (
|
h(INTERNAL) Class
|
isEllipsoidalCheck whether this n-vector is ellipsoidal (
|
isSphericalCheck whether this n-vector is spherical (
|
lamGet the (geodetic) longitude in
|
latGet the (geodetic) latitude in
|
latlonGet the (geodetic) lat-, longitude in
|
latlonheightGet the (geodetic) lat-, longitude in
|
latlonheightdatumGet the lat-, longitude in
|
lonGet the (geodetic) longitude in
|
phiGet the (geodetic) latitude in
|
philamGet the (geodetic) lat-, longitude in
|
philamheightGet the (geodetic) lat-, longitude in
|
philamheightdatumGet the lat-, longitude in
|
xyzhGet this n-vector's components (Vector4Tuple
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed May 4 16:33:53 2022 | http://epydoc.sourceforge.net |