Synopsis

PDX_MSGT gdx_ReparmNurbSurf(long option, T_GDX_NURB_SURF *gdx_ns, double first_u, double last_u, double first_v, double last_v)

Purpose

Reparameterize a GDX NURBS Surface.

Description

This routine reparameterizes a GDX NURBS Surface. It scales and translates the knot vectors AND bounds to correspond to the specified parameter values.

Input

option

Not used.

gdx_ns

The surface to be reparameterized. Upon return, gdx_ns points to the reparameterized surface.

first_u

This will be the new first u-knot value.

last_u

This will be the new last u-knot value; ie. the u-parameter range will be first_u <= u <= last_u.

first_v

This will be the new first v-knot value.

last_v

This will be the new last v-knot value; ie. the v-parameter range will be first_v <= v <= last_v.

Output

gdx_ns

The reparameterized surface.

Return

GDX_NOERR