DeviationEdge.from_line
- classmethod DeviationEdge.from_line(line, **kwargs)
Create an edge from a line described by two xyz coordinates.
- Parameters:
line (
tupleorlist) – The xyz coordinates of the line’s two end points.**kwargs (
dict) – Extra keyword arguments.
- Returns:
edge (
Edge) – An edge object.