SmApiCreatePlanarFaces#

Defined in SM_API/inc/SmApiTrimmedSurfaces.h

SmApiStatus SmApiCreatePlanarFaces(
const SmTArray<SmCurve*> &crPlanarCurves,
SmBrep *&rpResult,
)#

Ownership of crPlanarCurves: consumed on success (the new faces use them; do not delete or reuse them). On failure they are left with the caller, who must delete them, and rpResult is set to NULL. Endpoint matching and degenerate-curve checks use the new Brep’s default tolerance; there is no parameter to set it.

Parameters:
  • crPlanarCurves – [in ]: Planar bounding curves

  • rpResult – [out]: Resulting SmBrep