Synopsis

PDX_MSGT gdx_ApproxCurve(long option, MDA_PTR db_ptr)

Purpose

Linear approximate GDX curve entity

Description

Perform linear approximation of a GDX curve entity within the GDX linear approximation subsystem workspace. The GDX linear approximation must have been previously allocated before approximation can be performed (See gdx_AllocateApprox).

Input

option

GDX_CLOSEDCRV

Treat the GDX composite edge curve as closed

GDX_OPENSURF

Treat the GDX composite edge curve surface as open

db_ptr

The GDX curve entity database pointer

Return

      GDX_NOERR
      GDX_ENTITYNOTCURVE
      Low level error return
      .fi