SmApiCreateLinearSweep#
Defined in SM_API/inc/SmApiBrep.h
- SmApiStatus SmApiCreateLinearSweep(
- const SmTArray<SmCurve*> &rCurvesToSweep,
- const SmVector3d &rSweepDir,
- double dSweepDist,
- SmBoolean bCapEnds,
- SmBrep *&rpResult,
rCurvesToSweep are copied, not consumed: the caller keeps ownership and the curves are unchanged. The caller owns the new rpResult.
- Parameters:
rCurvesToSweep – [in ]: Curves to sweep
rSweepDir – [in ]: Sweep direction
dSweepDist – [in ]: Sweep distance
bCapEnds – [in ]: Cap the ends of the result
rpResult – [out]: Resulting SmBrep