Category Geometry items, Object ProEdge

Function ProEdgeParamEval


Description
Finds a corresponding normalized parameter on the edge, given the XYZ point. Note: The function is intended to be used when the point is on, or very nearly on, the edge.
Replacement in Object TOOLKIT: pfcGeomCurve::EvalParameter
Synopsis
#include <ProEdge.h>
ProErrorProEdgeParamEval(
ProEdge edge
/* (In)
The edge handle.
*/
ProVector xyz_point
/* (In)
The XYZ point. The point does not necessarily have to lie on the edge. If the point is not on the edge, the function finds the closest edge point.
*/
double* p_param
/* (Out)
The corresponding normalized parameter on the edge.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully evaluated the edge.
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
  3. Core: 3D Geometry: Inverse Evaluation and Minimum Distances

Sample Code References:

  1. pt_examples ( UtilGeom.c )