예제 #1
0
 def getPositionAsVertex(self):
     """
     if args is defined, return the vertex of the 
     first point in the widget
     """
     if(self.getPosition()):
         return App.Vertex(self._vector[0])
     else:
         return None
예제 #2
0
 def getVertexEnd(self):
     """Return the vertex of the end point"""
     return App.Vertex(self.w_vector[3])
예제 #3
0
 def getVertexStart(self):
     """Return the vertex of the start point"""
     return App.Vertex(self.w_vector[0])