예제 #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