Synopsis

PDX_MSGT gdx_SolidSplitCCParmCurves(long option, MDA_PTR db_ptr, double devtol, long maxits, int fitdeg)

Purpose

Split all edge curves that contain composite curves as parameter space curves for a solid.

Description

Check all Edge_Curves for parameter curves that are Composite Curves. If any are found, split the edge into multiple edges, insert the new edges into the required loops, and generate the new verticies where needed. Generate missing parameter space curves for the solid.

Input

option

Options (Not Used)

db_ptr

The database pointer for the GDX solid entity

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.

Output

db_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