SmApiCurveClosestPointAll#
Defined in SM_API/inc/SmApiQueries.h
- SmApiStatus SmApiCurveClosestPointAll(
- const SmCurve *pCurve,
- const SmPoint3d &crPoint,
- SmTArray<SmPoint3d> &rPoints,
- SmTArray<double> &rParameters,
- SmTArray<double> &rDistances,
Same status rules as SmApiCurveClosestPoint. Appends aligned result entries; an evaluation failure can leave a successfully evaluated prefix appended.
- Parameters:
pCurve – [in ]: Curve to query
crPoint – [in ]: Point to find closest on curve
rPoints – [out]: All closest points on curve
rParameters – [out]: Curve parameters at each closest point
rDistances – [out]: Distances from input point to each closest point