Synopsis

PDX_MSGT gdx_ReparmNurbCurve(long option, T_GDX_NURB_CURVE *gdx_nc, double first, double last)

Purpose

Reparameterize a GDX NURBS Curve.

Description

This routine reparameterizes a GDX NURBS Curve. It scales and translates the knot vector and bounds to correspond to the specified parameter values.

Input

option

Options (not used)

gdx_nc

The GDX NURBS Curve

first

The new first knot value

last

The new last knot value. The curve will be defined on first <= u <= last.

Output

gdx_nc

The reparameterized curve

Return

GDX_NOERR