SmApiTrimSurfaceWith3dCurves#
Defined in SM_API/inc/SmApiTrimmedSurfaces.h
- SmApiStatus SmApiTrimSurfaceWith3dCurves(
- SmSurface *pSurface,
- const SmTArray<ULONG> &crCurveLoops,
- const SmTArray<SmCurve*> &cr3DCurves,
- SmBrep *&rpResult,
Ownership: on success pSurface and the cr3DCurves curves are consumed into rpResult. On failure rpResult is NULL and ownership of pSurface and the curves is indeterminate: some may already be attached to a partial Brep that is not freed.
- Parameters:
pSurface – [in ]: Surface to trim (consumed)
crCurveLoops – [in ]: Number of curves in each loop
cr3DCurves – [in ]: Trimming curves in head to tail order
rpResult – [out]: Resulting SmBrep