SmApiIntersectCurveBrep#

Defined in SM_API/inc/SmApiIntersectors.h

SmApiStatus SmApiIntersectCurveBrep(
SmCurve *pCurve,
SmBrep *pBrep,
SmTArray<SmCurve*> &rCurves,
SmTArray<SmPoint3d> &rPoints,
)#
Parameters:
  • pCurve – [in ]: Pointer to curve

  • pBrep – [in ]: Pointer to brep

  • rCurves –

    [out]: Resulting intersection curves (overlaps), appended. As for

    SmApiIntersectCurveFace, overlaps are not clipped to face

    trims; one lying along a shared edge is reported once.

  • rPoints –

    [out]: Resulting intersection points, appended; a point on a shared

    edge is reported once. If intersecting any face fails, both

    arrays are restored to their sizes on entry.