Synopsis

PDX_MSGT gdx_ConvertCompEdgeCurveToLoop(long option, int gdx_model, MDA_PTR gdx_compedge_ptr, MDA_PTR gdx_surface_ptr, MDA_PTR *gdx_loop_ptr)

Purpose

Convert a GDX Composite Edge Curve entity to a GDX Loop entity.

Description

Converts a GDX Composite Edge Curve entity to a GDX Loop entity. If any of the the senses of the curves are FALSE the curve is reversed. Since each of the Edge Curves are duplicated a surface ptr is required so that all edge curve point to the same surface.

Input

option

Options (not used)

gdx_model

The model to create the GDX surface in

gdx_surface_ptr

The GDX surface database pointer

gdx_compedge_ptr

The GDX composit edge curve database pointer

Output

gdx_loop_ptr

The GDX FACE database pointer.

Return

      GDX_NOERR
      Low level error return
      .fi