SmApiOffsetBrepFull#

Defined in SM_API/inc/SmApiBrep.h

SmApiStatus SmApiOffsetBrepFull(
SmBrep *pBrep,
double dOffsetDistance,
SmBoolean bDoExtendedOffset,
SmBoolean bDoSelfInt,
SmBrep *&rpResult,
)#
Parameters:
  • pBrep –

    [in/out]: Brep to offset. Geometry unchanged; left

    edit-enabled when bDoExtendedOffset and

    bDoSelfInt are both TRUE

  • dOffsetDistance – [in ]: Offset distance

  • bDoExtendedOffset – [in ]: TRUE = extend/intersect convex edges

  • bDoSelfInt – [in ]: TRUE = handle self-intersections

  • rpResult –

    [out]: Resulting offset, or NULL on failure. With bDoSelfInt,

    fails with SM_ERR when pBrep is a solid and the offset

    would not be one