示例#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
示例#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
示例#3
0
文件: way.py 项目: EdwinTauro/modrana
 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
示例#4
0
文件: way.py 项目: M4rtinK/modrana
 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
示例#5
0
文件: way.py 项目: vpodzime/modrana
    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