Synopsis

PDX_MSGT gdx_SolidGenerateParmCurves(long option, double devtol, long maxits, int fitdeg, MDA_PTR gdx_solid_ptr, int *status)

Purpose

Generate missing Parameter Space curves in a solid

Description

Generate missing parameter space curves for the solid.

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_solid_ptr

The database pointer for the GDX solid entity

Output

gdx_solid_ptr

An updated GDX solid 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.

Tolerances

      MODEL_SPACE_PNT_TOL
      PARM_SPACE_PNT_TOL
      ANGLE_TOL
      ZERO_TOL
      .fi

Return

      GDX_NOERR
      GDX_INVALIDMODEL
      Low level error return
      .fi