Esempio n. 1
0
 def _update(self, updated, *attrs):  # PYCHOK args
     '''(INTERNAL) Zap cached attributes if updated.
     '''
     if updated:
         LatLonNvectorBase._update(self, updated,
                                   _Nv=self._Nv)  # special case
         LatLonEllipsoidalBase._update(self, updated, '_r3', *attrs)
Esempio n. 2
0
 def _update(self, updated, *attrs):
     '''(INTERNAL) Zap cached attributes if updated.
     '''
     if updated:
         if self._Nv:
             self._Nv._fromll = None
             self._Nv = None
         LatLonNvectorBase._update(self, updated, '_r3', *attrs)
         LatLonEllipsoidalBase._update(self, updated, *attrs)
Esempio n. 3
0
 def _update(self, updated, *attrs):
     '''(INTERNAL) Zap cached attributes if updated.
     '''
     if updated:  # reset caches
         if self._Nv:
             self._Nv._fromll = None
             self._Nv = None
         LatLonNvectorBase._update(self, updated, *attrs)
         LatLonSphericalBase._update(self, updated, *attrs)
 def _update(self, updated):
     '''(INTERNAL) Clear caches if updated.
     '''
     if updated:  # reset caches
         if self._Nv:
             self._Nv._fromll = None
             self._Nv = None
         self._r3 = None
         LatLonNvectorBase._update(self, updated)
         LatLonEllipsoidalBase._update(self, updated)
Esempio n. 5
0
 def _update(self, updated, *attrs):  # PYCHOK args
     '''(INTERNAL) Zap cached attributes if updated.
     '''
     if updated:  # reset caches
         LatLonNvectorBase._update(self, updated, _Nv=self._Nv)  # special case
         LatLonSphericalBase._update(self, updated, *attrs)