Synopsis

PDX_MSGT gdx_FaceBoundSurf(long option, MDA_PTR gdx_db_ptr, int *status)

Purpose

Rebound the surface of a face

Description

This function is to rebound the surface of a face. If the bound parameter of a surface is not available (-1) or not appropriate for the face, a new bound based on the active area of the face will be created, and the surface reference parameters, such as center point, axis vector, will be modified if they are not appropriate. The parm curves will be deleted if the reference parameters are changed.

Input

option

GDX_KEEP_DEGEN_LOOPS

Keep all degenerate loops when deleting parm curves.

gdx_db_ptr

The valid GDX face database pointer

Output

status

GDX_SURF_NOT_BOUND

The surface could not be bounded, or the surface was not infinite;

GDX_SURF_ALREADY_BOUNDED

The infinite surface was already bound, so nothing was changed.

GDX_SURF_BOUNDED

The surface was bounded and the parm curves were deleted.

Return

      GDX_NOERR
      GDX_MODEL_LOOP_NOT_CONT
      Low level error return
      .fi