# Synopsis

PDX_MSGT gdx_FaceConvertToAnalFace(long option, double msp_tol, double approx_tol, MDA_PTR gdx_face_ptr)

# Purpose

Convert curves and surfaces of a GDX Face to analytical representations.

# Description

Convert curves and surfaces of a GDX Face to analytical representations. By default both curves and surfaces will be converted to their analytical form. To convert just the surface use the option GDX_SURF_TO_ANALYTIC. To convert just the curves use the option GDX_CURVES_TO_ANALYTIC. This function will first try to convert NURB surfaces to its curve based form. It will then try to convert the curve based surface to its analytical form. The resulting surface may not be able to be converted to its analytic form. Thus the resulting surface may still be in its NURB form or its curve based form.

# Input

## option

### GDX_SURF_TO_ANALYTIC

Convert just surfaces to analytics

### GDX_CURVES_TO_ANALYTIC

Convert just curves to analytics

## msp_tol

This is used to determine if surfaces are revolved, curves are circular, and curves are degenerate.

## approx_tol

Approximation tolerance

## gdx_face_ptr

The valid GDX Solid database pointer

# Output

## gdx_face_ptr

The valid GDX Solid database pointer

# Tolerances

          .fi

# Return

          GDX_NOERR
          Low level error return
          .fi