Synopsis

PDX_MSGT gdx_ElevateCurveDegree(long option, T_GDX_NURB_CURVE *cur)

Purpose

Elevate the degree of a GDX NURB Curve by one.

Description

Elevate the degree of a GDX NURB Curve by one. The pointer cur does not change, but the original curve is destroyed (new control points and knots are allocated).

Input

option

Options (not used).

cur

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

Output

cur

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

Return

      GDX_NOERR
      GDX_NOMEMORY
      MPM_MAXDEGEXCEEDED
      Low level error return
      .fi