Synopsis

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

Purpose

Generate missing Model Space curves in a solid

Description

Generate missing model space curves for the solid.

Input

option

Options (Not Used)

gdx_solid_ptr

The database pointer for the GDX solid entity

devtol

Sampled points on the model space curve, M(t), should not deviate from the surface or from the image under S(u,v) of P(s) more than this value. 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.

status

Enumerated flag indicating whether the status of model curve generation : GDX_MODEL_UNKNOWN (-1) = Generation results unknown GDX_MODEL_GEN_FAILED (0) = Generation failed GDX_MODEL_EXISTED (1) = Model curves already existed GDX_MODEL_GEN_CURVE (2) = Generation succeeded GDX_MODEL_PARMOUTOFRANGE (3) = Parm curves out of range of surface

Output

gdx_solid_ptr

An updated GDX solid with parameter space curves

Tolerances

      MODEL_SPACE_PNT_TOL
      PARM_SPACE_PNT_TOL
      ANGLE_TOL
      ZERO_TOL
      
      .fi

Return

      GDX_NOERR
      GDX_INVALIDMODEL
      Low level error return
      .fi