SmApiEdgeClosestPoint#
Defined in SM_API/inc/SmApiQueries.h
- SmApiStatus SmApiEdgeClosestPoint(
- SmEdge *pEdge,
- const SmPoint3d &crPoint,
- SmPoint3d &rClosestPoint,
- double &rdParameter,
- double &rdDistance,
- Parameters:
pEdge – [in ]: Pointer to edge
crPoint – [in ]: Query point
rClosestPoint – [out]: Closest point on the edge’s trimmed curve interval
rdParameter – [out]: Curve parameter of the closest point
rdDistance – [out]: Distance from crPoint to rClosestPoint