OCCBrepEdge.from_curve

classmethod OCCBrepEdge.from_curve(curve=None, curve2d=None, surface=None, params=None, points=None, vertices=None)

Construct an edge from a curve.

Parameters:
curveOCCCurve, optional

The curve.

curve2dOCCCurve2d, optional

The 2D curve.

surfaceOCCSurface, optional

The surface.

paramstuple of float, optional

The parameters of the curve.

pointstuple of compas.geometry.Point, optional

The start and end points of the curve.

verticestuple of BrepVertex, optional

The start and end vertices of the curve.

Returns:
BrepEdge

The constructed edge.