Exemplo n.º 1
0
    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)
Exemplo n.º 2
0
 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)