# Synopsis

PDX_MSGT gdx_FaceNurbSurfToSpline(long option, int surf_deg, double tolerance, int maxits, MDA_PTR gdx_face_ptr)

# Purpose

Convert face surface from NURBS to spline (parametric).

# Description

Convert the surface in the face to a spline surface.

If non-NURBS data is encountered, GDX_ENTITY_NOT_NURBS message will be returned. Thus, the face should first be converted to a NURBS based face using the function gdx_FaceToNurbs. Rational NURBS data will be approximated as non-rational nurbs. The surf_deg, tolerance and maxits are used during the approximation.

# Input

## option

### GDX_USEBASEDEG

Use the base surface U and V degree for the degree of the offset surface

## surf_deg

Degree used to approximate rational nurbs surfaces prior to conversion to splines.

## tolerance

Tolerance used to approximate rational nurbs

## maxits

Maximum number of iterations during approximation

## gdx_face_ptr

The database pointer for the GDX face entity

# Output

## gdx_face_ptr

The database pointer for the GDX face entity

# Tolerances

          MODEL_SPACE_PNT_TOL
          PARM_SPACE_PNT_TOL
          .fi

# Return

          GDX_NOERR
          GDX_INVALIDMODEL
          GDX_ENTITY_NOT_NURBS
          Low level error return
          .fi