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