TrailEdge.from_line

classmethod TrailEdge.from_line(line, **kwargs)

Create an edge from a line described by two xyz coordinates.

Parameters:
  • line (tuple or list) – The xyz coordinates of the line’s two end points.

  • **kwargs (dict) – Extra keyword arguments.

Returns:

edge (Edge) – An edge object.