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
def getVertexEnd(self): """Return the vertex of the end point""" return App.Vertex(self.w_vector[3])
def getVertexStart(self): """Return the vertex of the start point""" return App.Vertex(self.w_vector[0])