# Synopsis

PDX_MSGT gdx_CECReverse(long option, MDA_PTR gdx_surf_ptr, MDA_PTR gdx_cec_ptr)

# Purpose

Reverse CEC creating a new CEC.

# Description

This function reverses a GDX CEC by reversing the the senses on all of the edge curve, and reversing the parm curves in each edge curve within the CEC. The gdx_surf_ptr is need to determine which parameter space curves to reverse in the edge curves. The output database pointer is the same as the input database pointer. Therfore, parent entities do not need to be modified.

# Input

## option

(not used).

## gdx_surf_ptr

Database pointer of surface which cec is on.

## gdx_cec_ptr

Database pointer of CEC.

# Output

## gdx_cec_ptr

Datbase pointer of reversed CEC.

# Return

          Low level error return
          .fi