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