SmApiCreateCurveSweep#
Defined in SM_API/inc/SmApiBrep.h
- SmApiStatus SmApiCreateCurveSweep(
- SmTArray<SmCurve*> &rProfileCurves,
- SmBSplineCurve *pPathCurve,
- SmBSplineCurve *pScaleReference,
- SmBSplineCurve *pScaleCurve,
- SmSweepOptions *pOptions,
- SmBrep *&rpResult,
- SmTArray<SmFace*> *pOptStartFaces,
- SmTArray<SmFace*> *pOptSideFaces,
- SmTArray<SmFace*> *pOptEndFaces,
The profile, path, and scale curves are not consumed; the caller keeps ownership and all inputs remain unchanged. The caller owns the new rpResult on success; on failure rpResult is NULL (any partially built Brep is deleted). The same applies to SmApiCreateCurveSweepFromFaces and SmApiCreateCurveSweepFromEdges.
- Parameters:
rProfileCurves – [in ]: Profile curves to sweep along path
pPathCurve – [in ]: Path curve
pScaleReference – [in ]: Scale reference curve (NULL for none)
pScaleCurve – [in ]: Scale curve (NULL for none)
pOptions – [in ]: Sweep options (NULL for defaults)
rpResult – [out]: Resulting SmBrep
pOptStartFaces – [opt]: Start cap faces (NULL to ignore)
pOptSideFaces – [opt]: Side faces (NULL to ignore)
pOptEndFaces – [opt]: End cap faces (NULL to ignore)