SmApiGetClosestPoint#

Defined in SM_API/inc/SmApiQueries.h

SmApiStatus SmApiGetClosestPoint(
const SmBrep *pBrep,
const SmPoint3d &crPoint,
SmPoint3d &rClosestPoint,
double &rdDistance,
)#
Parameters:
  • pBrep – [in ]: Brep to query

  • crPoint – [in ]: Point to find closest on brep

  • rClosestPoint – [out]: Closest point on brep

  • rdDistance – [out]: Distance from input point to closest point