Synopsis

PDX_MSGT gdx_ElevateSurfaceDegree(long option, T_GDX_NURB_SURF *sur)

Purpose

Elevate the degree (u or v) of a GDX NURB Surface by one.

Description

Elevate the u- or v-degree of a GDX NURB Surface by one. The pointer sur does not change, but the original surface is destroyed (new control points and knots are allocated).

Input

option

GDX_UDEGREE

If set, the u-degree will be raised, otherwise, the v-degree will be raised.

sur

Pointer to the GDX NURB Surface whose degree is to be elevated by one.

Output

sur

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

Return

      GDX_NOERR
      GDX_MAXDEGEXCEEDED
      Low level error return
      .fi