Synopsis

PDX_MSGT gdx_IsCurveLinear(long option, MDA_PTR gdx_crv_ptr, double tol, PDX_BOOL *linear)

Purpose

Routine to determine if a curve is linear

Description

Routine calls appropriate routine to determine if curve is linear.

Input

option

not used

gdx_crv_ptr

db_ptr to desired curve

tol

tolerance to use to check linearity

Output

linear

PDX_TRUE

Curve is a straight line

PDX_FALSE

Curve is not a straight line

Tolerances

      .fi

Return

      GDX_NOERR
      Low level error return
      .fi