# Synopsis

PDX_MSGT gdx_RemoveOneKnotSurface(long option, T_GDX_NURB_SURF *sur, double uv, int num, double toler, int *n)

# Purpose

Remove one knot from surface multiple times.

# Description

Knot removal from surface. Checks if uv is an interior knot of the surface sur, and if it is, tries to remove it num times.

# Input

## option

### GDX_UVALUE

If set, uv is a u-value (u knot removal). Otherwise, it is a v-value.

## sur

The surface from which knot is to be removed. The pointer is not changed, although the content of the structure pointed to by sur is.

## uv

Knot to be removed.

## num

Number of times to try to remove uv.

## toler

The knot removal tolerance. If a knot is removed, then the final surface does not deviate from the original surface by more than toler.

# Output

## n

The number of times the knot was removed.

# Tolerances

          ZERO_TOL
          .fi

# Return

          GDX_NOERR
          Low level error return
          .fi