reverse (self,
enh_,
n=None,
h_=0,
M=None,
name='')
|
|
Convert I{Swiss} projection to WGS84 geodetic coordinates.
@arg enh_: A Swiss projection (L{ChLV9Tuple}) or the C{scalar}, I{falsed Swiss
E_LV95} or I{y_LV03} coordinate (C{meter}).
@kwarg n: I{Falsed Swiss N_LV85} or I{x_LV03} coordinate for C{scalar}
B{C{enh_}} and B{C{h_}} (C{meter}).
@kwarg h_: I{Swiss h'} height for C{scalar} B{C{enh_}} and B{C{n}} (C{meter}).
@kwarg M: Optionally, return the I{concatenated} rotation L{EcefMatrix}, I{iff
avaialble} (C{bool}).
@kwarg name: Optional name (C{str}).
@return: A L{ChLV9Tuple}C{(Y, X, h_, lat, lon, height, ltp, ecef, M)} with
the I{unfalsed Swiss (Y, X, h_)} coordinates and height, I{geodetic}
C{(lat, lon, height)}, this C{ChLV*} and C{ecef} (L{Ecef9Tuple})
I{at Bern, Ch} and with rotation matrix C{B{M}=None}.
@note: The returned C{ltp} is this C{ChLV}, C{ChLVa} or C{ChLVe} instance.
@raise LocalError: Invalid B{C{enh_}} or B{C{n}} or B{C{h_}} not C{scalar}
for C{scalar} B{C{enh_}.
- Arguments:
xyz - A local (XyzLocal, Enu,
Ned, Aer,
Local9Tuple) or local x coordinate
(scalar ).
y - Local y coordinate for scalar
xyz and z
(meter ).
z - Local z coordinate for scalar
xyz and y
(meter ).
M - Optionally, return the concatenated rotation EcefMatrix, iff avaialble
(bool ).
name - Optional name (str ).
- Returns:
- An Local9Tuple
(x, y, z, lat, lon, height,
ltp, ecef, M) with local x ,
y , z , geodetic lat ,
lon , height , this ltp , an
ecef (Ecef9Tuple) with the geocentric
x , y , z (and
geodetic lat , lon ,
height ) and the concatenated rotation matrix
M (EcefMatrix) if requested.
- Raises:
LocalError - Invalid xyz or scalar
x or y and/or
z not scalar for
scalar xyz .
- Overrides:
LocalCartesian.reverse
- (inherited documentation)
|