# Synopsis

PDX_MSGT gdx_RemoveKnotsSurface(long option, T_GDX_NURB_SURF *sur, double kr_tol, int *nrem)

# Purpose

Remove as many knots as possible from surface.

# Description

Knot removal from surface. This routine removes as many knots as it can from the surface (u- and v-knots).

# Input

## option

Not used.

## sur

Pointer to the GDX NURB Surface from which the knots are to be removed.

## kr_tol

Knot removal tolerance. The resulting surface will not deviate more than kr_tol from the original surface.

# Output

## nrem

The number of knots removed.

## sur

Pointer not changed, but contents of structure pointed to by sur are changed.

# Return

          GDX_NOERR
          Low level error return
          .fi