Synopsis

PDX_MSGT igdx_PolylineTo116_110_106(long option, MDA_PTR gdx_polyline_ptr, int iges_model, MDA_PTR *iges_curve_ptr)

Purpose

Create the IGES point, line, or copious data entity from the GDX polyline.

Description

Creates the IGES form of the GDX polyline entity in the specified model as a point, line or copious data entity. The form is determined by the number of GDX polyline points(1 -> IGES 116, 2 -> IGES 110, 3 or more -> IGES 106).

Input

option

IGDX_LEAVE_LOCKED

The IGES entity will remain locked in the database. The Applicaton must use mda_GetLockedAddr to get the entity structure.

IGDX_CLOSEDAREA

If the GDX polyline contains 3 or more XY planar points and is closed, the IGES 106:63 will be create, otherwise the IGES 106:11 or 106:12 will be created.

gdx_polyline_ptr

The GDX polyline entity database pointer

iges_model

The model for creating the IGES curve entity

Output

iges_curve_ptr

The database pointer of the resulting IGES curve

Return

      IGDX_NOERR
      Low level error return
      .fi