OCCBrepEdge.from_curve2d_and_surface

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

Construct an edge from an embedded 2d curve and its embedding surface.

Parameters:
curve2dOCCCurve2d

The 2D curve.

surfaceOCCSurface

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.