Synopsis

PDX_MSGT gdx_DiscontToContNurbCurve(long option, T_GDX_NURB_CURVE *curve)

Purpose

Force a discontinuous Nurb curve to be continuous.

Description

This routine forces a discontinuous GDX NURB Curve to be continuous. It averages the two points at a discontinuity to obtain the resulting continuous curve. It assumes that no internal knot has multiplicity greater than degree+1.

Input

option

Not used.

curve

Pointer to the GDX NURB Curve which is to be made continuous.

Output

curve

Structure pointer does not change, but knots and control points do change.

Return

      GDX_NOERR
      Low level error return
      .fi