# Synopsis

PDX_MSGT gdx_CBSBoundSurf(long option, MDA_PTR gdx_cbs_ptr, int *status)

# Purpose

Rebound the surface of a CBS

# Description

This function is to rebound the surface of a CBS. If the bound parameter of a surface is not available (-1) or not appropriate for the CBS, a new bound based on the active area of the CBS 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

Options (not used)

## gdx_cbs_ptr

The valid GDX CBS database pointer

# Output

## status

### GDX_SURF_NOT_BOUND

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

### GDX_SURF_BOUND_NATURAL

The surface has natural bounds;

### 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. been deleted.

# Return

          GDX_NOERR
          GDX_MODEL_LOOP_NOT_CONT
          Low level error return
          .fi