# Synopsis

PDX_MSGT gdx_LoopToCEC(long option, MDA_PTR gdx_surf_ptr, MDA_PTR gdx_loop_ptr, MDA_PTR *gdx_cec_ptr)

# Purpose

Convert a GDX Loop to CEC.

# Description

Convert a GDX Loop to a CEC. Create a new EC for each Edge in the loop. The combine the EC's into a CEC. The sense for each EC in the CEC will be the combination of the Edge sense and EC sense from the Loop and Edge respectively.

# Input

## option

Options (Not Used)

## gdx_surf_ptr

The DB pointer of surface that loop is on.

## gdx_loop_ptr

The DB for the GDX loop entity

# Output

## gdx_cec_ptr

Pointer to the DB pointer of the new CEC.

# Tolerances

          .fi

# Return

          GDX_NOERR
          GDX_INVALIDMODEL
          Low level error return
          .fi