Synopsis

PDX_MSGT gdx_RemoveMultKnotsSurface(long option, T_GDX_NURB_SURF *gdx_ns, PDX_BOOL *modified_flg)

Purpose

Remove knot multiplicities greater than order from a GDX NURBS Surface.

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 Surface. This involves removing knots, and removing and/or averaging 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_ns does not change, but the original surface contents may be modified. Note also that this function does not mark the GDX entity as modified.

Input

option

Options (not used).

gdx_ns

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

Output

gdx_ns

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

modified_flg

PDX_TRUE

entity was modifed

PDX_FALSE

entity was not modified

Return

      GDX_NOERR
      Low level error code
      .fi