Category Geometry items, Object ProCurve

Function ProCurveParamEval


Description
Finds the corresponding normalized parameter on the curve, given the XYZ point.
Replacement in Object TOOLKIT: pfcGeomCurve::EvalParameter
Synopsis
#include <ProCurve.h>
ProErrorProCurveParamEval(
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
PRO_TK_NO_ERRORThe function successfully evaluated the point.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: 3D Geometry: Inverse Evaluation and Minimum Distances

Sample Code References:

  1. pt_examples ( UtilGeom.c )