# Synopsis

(macro) void gdx_SetLastApprox2DPnt(long option, int coord, double coord_value)

# Purpose

Sets the coordinate of the last 2D point in the current GDX linear approximation 2D points list.

# Description

Sets the coordinate value of the last 2D point in the linear approximation 2D points list for the current GDX linear approximation workspace. No error checking is performed and it is assumed that a workspace is currently allocated and enough space exists in the linear approximation workspace to set the current point.

# Input

## option

Not used

## coord

The coordinate index to set (0-1)

## coord_value

The coordinate value to set