OCCBrepEdge.from_line

classmethod OCCBrepEdge.from_line(line, params=None, points=None, vertices=None)

Construct an edge from a line.

Parameters:
linecompas.geometry.Line

The line.

paramstuple of float, optional

The parameters of the line.

pointstuple of compas.geometry.Point, optional

The start and end points of the line.

verticestuple of BrepVertex, optional

The start and end vertices of the line.

Returns:
BrepEdge

The constructed edge.