Synopsis

PDX_MSGT gdx_LoopReverse(long option, MDA_PTR gdx_surf_ptr, MDA_PTR gdx_loop_ptr)

Purpose

Reverse a GDX Loop

Description

This function reverses a GDX Loop by reversing the the senses on all of the edges, and reversing the parm curves in each edge curve within the edges. 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 loop is on.

gdx_loop_ptr

Database pointer of Loop.

Output

gdx_loop_ptr

Datbase pointer of reversed loop.

Return

      Low level error return
      .fi