Synopsis
PDX_MSGT gdx_LoopGenerateParmCurves(long option, double devtol, long maxits, int fitdeg, PDX_BOOL loop_surf_sense, MDA_PTR gdx_surf_ptr, MDA_PTR gdx_loop_ptr, int *status, T_GDX_RECT_MESH **rect_mesh)
Purpose
Generate missing Parameter Space curves in a loop
Description
Generate missing parameter space curves for the loop.
Input
option
Options (Not Used)
devtol
The deviation of the model space image of P(s) from the projection of M(t) should not be greater than devtol. This tolerance should be larger than MODEL_SPACE_PNT_TOL, at least by 1 to 2 orders of magnitude.
maxits
Maximum number of iterations. Iteration will be stopped if this number is exceeded.
fitdeg
Degree used for fitting. See option GDX_FITDEGMAX above.
gdx_loop_ptr
The database pointer for the GDX loop entity
loop_surf_sense
PDX_TRUE
Loop sense and Surf sense are the same
PDX_FALSE
Loop sense and Surf sense are different
gdx_surf_ptr
Surface that this loop is on.
rect_mesh
pointer to rect_mesh entity used as the temporary rect mesh for the projectsion or NULL. If non NULL is passed in first time, entitiy must be NULL.
Output
gdx_loop_ptr
An updated GDX loop with parameter space curves
status
Enumerated flag indicating whether status of parm curve generation : GDX_PARM_UNKNOWN (-1) = Generation results unknown GDX_PARM_GEN_FAILED (0) = Generation failed GDX_PARM_EXISTED (1) = Parm curves already existed GDX_PARM_GEN_CURVE (2) = Generation succeeded GDX_PARM_GEN_DEGREE_1 (3) = Degree 1 generation succeeded GDX_PARM_GEN_REV_MODEL (4) = Generation from reversed model curve succeeded.
rect_mesh
if not NULL, it returns the rect mesh entity used for projection
Tolerances
MODEL_SPACE_PNT_TOL
PARM_SPACE_PNT_TOL
ANGLE_TOL
ZERO_TOL
.fi
Return
GDX_NOERR
GDX_INVALIDMODEL
Low level error return
.fi