# Synopsis

PDX_MSGT gdx_SurfaceToFace(long option, int gdx_model, PDX_BOOL surf_sense, MDA_PTR gdx_surf_ptr, MDA_PTR *gdx_face_ptr)

# Purpose

Generate a Face, using the surface, and a loop representing the outer boundary of the surface by calling gdx_SurfaceToLoop.

# Description

Generate a Face, using the surface, and a loop representing the outer boundary of the surface by calling gdx_SurfaceToLoop.

# Input

## option

### GDX_NOOPT

Create both model and parm curves in the GDX Face

### GDX_NOPARM

Only create the model curves in the GDX Face

## gdx_model

The model to create the GDX face in

## surf_sense

Sense of the surface being passed in

## gdx_surf_ptr

Surface from which to create boundary loop.

# Output

## gdx_face_ptr

Resulting face.

# Tolerances

          MODEL_SPACE_PNT_TOL
          .fi

# Return

          GDX_NOERR
          Low level error return
          .fi