SmApiCreateBox#

Defined in SM_API/inc/SmApiPrimitives.h

SmApiStatus SmApiCreateBox(
const SmVector3d &crOrigin,
double dLength,
double dWidth,
double dHeight,
SmBrep *&pResult,
)#
Parameters:
  • crOrigin – [in ]: Position at lower left corner of the solid

  • dLength – [in ]: Distance along the X axis

  • dWidth – [in ]: Distance along the Y axis

  • dHeight – [in ]: Distance along the Z axis

  • pResult – [out]: Resulting SmBrep