Synopsis
PDX_MSGT igeo_ProjectPointCurve(long option, MDA_PTR db_ptr_crv, MTH_3DPNT point, double t0, int max_iters, MTH_3DPNT proj_point, double *t1)
Purpose
Project a point to an IGES curve
Description
Projects a model space point to an IGES curve. If the t0 is negative, then a global search is made to try to find an initial starting parameter values, otherwise the t0 value is assumed to be initial starting parameter values to use for projection. The max_iters value is the maximium iterations made if the projection does not converge to PNT_PROJ_TOL. The curve must be a valid IGES curve definition.
Input
option
Options (not used)
db_ptr_crv
The database pointer for the IGES curve
point
The model space point to project
t0
The initial curve parameter value(0.0 to 1.0) or < 0.0 if the value should not be used
max_iters
The maximium iterations for convergence
Output
proj_point
The model space point on the curve
t1
The parameter value of the point on the curve
Tolerances
PNT_PROJ_TOL
MODEL_SPACE_PNT_TOL
ANGLE_TOL
.fi
Return
IGEO_NOERR
IGEO_NOCONVERGE
Low level error return
.fi