SmApiCreateSweep#
Defined in SM_API/inc/SmApiSurfaces.h
- SmApiStatus SmApiCreateSweep(
- SmBSplineCurve *pCurve,
- SmBSplineCurve *pPath,
- SmSurface *&rpResult,
Always uses the kernel’s non-translational sweep: the profile is reoriented along the path rather than only translated, and the result is a B-spline approximation within a fixed 3D tolerance of 1e-5 model units. Neither the sweep mode nor the tolerance can be set by the caller.
- Parameters:
pCurve – [in ]: Generation curve
pPath – [in ]: Sweep vector
rpResult – [out]: Resulting SmSurface