SmApiCreateCylindricalBox#

Defined in SM_API/inc/SmApiPrimitives.h

SmApiStatus SmApiCreateCylindricalBox(
const SmVector3d &crOrigin,
double dLength,
double dInsideRadius,
double dOutsideRadius,
double dStartAngleDeg,
double dEndAngleDeg,
SmBrep *&rpResult,
)#
Parameters:
  • crOrigin – [in ]: Position of origin on Z axis at base

  • dLength – [in ]: Length along Z axis, greater than zero

  • dInsideRadius – [in ]: Inside radius from Z axis, greater than zero

  • dOutsideRadius – [in ]: Outside radius from Z axis, greater than inside radius

  • dStartAngleDeg – [in ]: Start angle from X axis in XY plane, degrees

  • dEndAngleDeg – [in ]: End angle from X axis in XY plane, degrees

  • rpResult – [out]: Resulting SmBrep