# Synopsis

PDX_MSGT gdx_RemoveMultKnotsCurve(long option, T_GDX_NURB_CURVE *gdx_nc, PDX_BOOL *modified_flg)

# Purpose

Remove illegal knot multiplicities from a GDX NURBS Curve.

# Description

This routine removes illegal knot multiplicities (multiplicities greater than degree for internal knots and multiplicities greater than order for knots on the ends) from a GDX NURBS Curve. This involves removing knots and removing their corresponding control points, such that the multiplicity is no greater than order for end knots and degree for internal knots.

Note that the pointer gdx_nc does not change, but the original curve contents may be modified. Note also that this function does not mark the GDX entity as modified.

# Input

## option

Options (not used).

## gdx_nc

Pointer to the GDX NURBS Curve from which the knots are to be removed.

# Output

## gdx_nc

Pointer not changed, but contents of structure pointed to by gdx_nc may be changed.

## modified_flg

### PDX_TRUE

entity was modifed

### PDX_FALSE

entity was not modified

# Return

          GDX_NOERR
          Low level error code
          .fi