API Documentation > Geometry items > Object ProCurve > Function ProCurveParamEval
Function ProCurveParamEval
Description
Finds the corresponding normalized parameter on the curve, given the XYZ point.
Replacement in Object TOOLKIT:
Synopsis
#include <ProCurve.h>
ProCurveParamEval
(
ProCurve p_curve
/* (In)
The curve handle.
*/
ProVector xyz_point
/* (In)
The XYZ point. The point does not necessarily have to lie on the curve. If the point is off the curve, the function finds the closest curve point.
*/
double* p_param
/* (Out)
The corresponding normalized parameter on the curve.
*/
)
Returns
The function successfully evaluated the point.
One or more of the input arguments are invalid.
Sample Code References
User Guide References
Was this helpful?