def to2ab(self): # PYCHOK no cover '''DEPRECATED, use property C{Nvector.philam}. @return: A L{PhiLam2Tuple}C{(phi, lam)}. ''' return n_xyz2philam(self.x, self.y, self.z)
def philam(self): '''Get the (geodetic) lat-, longitude in C{radians} (L{PhiLam2Tuple}C{(phi, lam)}). ''' if self._philam is None: self._philam = n_xyz2philam(self.x, self.y, self.z) return self._xnamed(self._philam)