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:
- curve2d
OCCCurve2d
The 2D curve.
- surface
OCCSurface
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.
- curve2d
- Returns:
BrepEdge
The constructed edge.