def to3abh(self): '''Convert this n-vector to (geodetic) lat-, longitude and height. @return: 3-Tuple (lat, lon, height) in (C{radians}, C{radians}, C{meter}). ''' return Vector3d.to2ab(self) + (self.h, )
def to3abh(self, height=None): '''Convert this n-vector to (geodetic) lat-, longitude and height. @keyword height: Optional height, overriding this n-vector's height (C{meter}). @return: A L{PhiLam3Tuple}C{(phi, lambda, height)}. ''' h = self.h if height is None else height return Vector3d.to2ab(self)._3Tuple(h)