def to2ll(self): # PYCHOK no cover '''DEPRECATED, use property C{Nvector.latlon}. @return: A L{LatLon2Tuple}C{(lat, lon)}. ''' return n_xyz2latlon(self.x, self.y, self.z)
def latlon(self): '''Get the (geodetic) lat-, longitude in C{degrees} (L{LatLon2Tuple}C{(lat, lon)}). ''' if self._latlon is None: self._latlon = n_xyz2latlon(self.x, self.y, self.z) return self._xnamed(self._latlon)