Synopsis

PDX_MSGT gdx_SolidSplitModelCurves(long option, MDA_PTR gdx_solid_ptr)

Purpose

Split the Model Curves referenced by this Solid.

Description

Split the model space curves in this Solid depending on the split method specified in the option. The continuity splitting options use gdx_CurveGetDiscontinuities to determine where to split the model space curve. The other options detect the splitting locations acordingly.

Optionally, the parm curves can be deleted or split. There are risks with both options. If the parm curves are deleted, new parm curves may not as good as the originals. If the parm curves are split, the resulting splits may not be the best.

Input

option

GDX_G1_CONTINUITY

Split at G1 discontinuities

GDX_C1_CONTINUITY

Split at G1 discontinuities

GDX_G2_CONTINUITY

Split at G2 discontinuities

GDX_C2_CONTINUITY

Split at C2 discontinuities

GDX_COMPOSITE

Split model space composite curves

GDX_CLOSURE

Split closed curves in half

GDX_DELETE_PARM

GDX_SPLIT_PARM

gdx_solid_ptr

The database pointer for the GDX solid entity

Output

gdx_solid_ptr

The updated GDX solid without discontinuous model 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