Synopsis

PDX_MSGT gdx_FaceSplitModelCurves(long option, MDA_PTR gdx_face_ptr)

Purpose

Split the Model Curves referenced by this Face.

Description

Split the model space curves in this Face 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_face_ptr

The database pointer for the GDX face entity

Output

gdx_face_ptr

The updated GDX face 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