Exemplo n.º 1
0
 def _update(self, updated):
     '''(INTERNAL) Clear caches if updated.
     '''
     if updated:  # reset caches
         self._Nv = self._r3 = None
         LatLonNvectorBase._update(self, updated)
         LatLonEllipsoidalBase._update(self, updated)
Exemplo n.º 2
0
 def _update(self, updated):
     '''(INTERNAL) Clear caches id updated.
     '''
     if updated:  # reset caches
         self._Nv = None
         LatLonNvectorBase._update(self, updated)
         LatLonSphericalBase._update(self, updated)
Exemplo n.º 3
0
    def copy(self):
        '''Copy this point.

           @return: The copy (L{LatLon} or subclass thereof).
        '''
        return LatLonNvectorBase.copy(self)