Beispiel #1
0
 def get_points_lle_radians(self, drop_elevation=False):
     """Return the way as LLE tuples in radians"""
     # do we have cached radians version of the LLE tuples ?
     if self._points_in_radians is not None:
         return self._points_in_radians
     else:
         radians = geo.lleTuples2radians(self._points, drop_elevation)
         self._points_in_radians = radians
         return radians
Beispiel #2
0
 def getPointsLLERadians(self, dropElevation=False):
     """return the way as LLE tuples in radians"""
     # do we have cached radians version of the LLE tuples ?
     if self.pointsInRadians is not None:
         return self.pointsInRadians
     else:
         radians = geo.lleTuples2radians(self.points, dropElevation)
         self.pointsInRadians = radians
         return radians
Beispiel #3
0
 def getPointsLLERadians(self, dropElevation=False):
     """return the way as LLE tuples in radians"""
     # do we have cached radians version of the LLE tuples ?
     if self.pointsInRadians is not None:
         return self.pointsInRadians
     else:
         radians = geo.lleTuples2radians(self.points, dropElevation)
         self.pointsInRadians = radians
         return radians
Beispiel #4
0
 def get_points_lle_radians(self, drop_elevation=False):
     """Return the way as LLE tuples in radians"""
     # do we have cached radians version of the LLE tuples ?
     if self._points_in_radians is not None:
         return self._points_in_radians
     else:
         radians = geo.lleTuples2radians(self._points, drop_elevation)
         self._points_in_radians = radians
         return radians
Beispiel #5
0
    def get_points_lle_radians(self, drop_elevation=False):
        """Return the way as LLE tuples in radians.

        :param bool drop_elevation: drop elevation from the tuples
        :return: LLE tuples
        :rtype: list of tuples
        """
        radians = geo.lleTuples2radians(self._points, drop_elevation)
        return radians