# Synopsis

PDX_MSGT gdx_FaceTrimLargeSurface(long option, MDA_PTR gdxFacePtr, double factor)

# Purpose

Trim large surface to face bounds.

# Description

This function will compare the size of the active face area with the underlying surface area and trim the surface if it is larger than a factor bigger than the face. The vertices of the face will be used to get a rough estimate of the size of the face. The surface size will be determined by evaluating a 10x10 array of points. The actual parameter curves will be used to get the real face bounds before trimming the surface. The parameter values will be padded by 10% so the trimming curves are not too close to the surface boundaries.

# Input

## option

### GDX_KEEP_OFFSET

Do not trim offset surface

### GDX_KEEP_PLANE

Do not trim planar surface

### GDX_KEEP_CYLINDER

Do not trim cylinder surface

### GDX_KEEP_CONE

Do not trim conical surface

### GDX_KEEP_EXT_SURF

Do not trim extruded surface

### GDX_KEEP_REV_SURF

Do not trim revolved surface

### GDX_KEEP_RULED_SURF

Do not trim ruled surface

### GDX_KEEP_SPHERE

Do not trim spherical surface

### GDX_KEEP_TORUS

Do not trim toroidal surface

## gdxFacePtr

The valid GDX face database pointer

## factor

Factor specifying how much bigger a surface needs to be before it is trimmed

# Return

          GDX_NOERR
          .fi