# Synopsis

PDX_MSGT gdx_LinearApproxCurvePoints(long option, GDX_APPROX_PARAMS *approx_params, MDA_PTR curve_ptr, int *num_pnts, double **pnts)

# Description

The linear approximation points of a curve will be computed by calling gdx_LinearApproxEntity. See its manual page for more information.

# Input

## option

Options (not used)

## approx_params

The linear approximation parameters or NULL. If NULL is used, then the default linear approximation parameters are used. See the gdx_InitApproxParams manual page for information on how to set these values.

## curve_ptr

The valid GDX curve

# Output

## num_pnts

The number of points

## pnts

The array of points (3*num_pnts)

# Return

          GDX_NOERR
          Low level error return
          .fi