OCCBrepEdge.from_curve_and_surface
- classmethod OCCBrepEdge.from_curve_and_surface(curve, surface, params=None, points=None, vertices=None)
- Construct an edge from a curve and a surface. - The curve will be projected onto the surface and embedded into its parameter space automatically. - Parameters:
- curveOCCCurve
- The 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. 
 
- curve
- Returns:
- BrepEdge
- The constructed edge.