AGI_TWTOD

Transform world to data coordinates

Description:

Transform a set of world coordinates into data coordinates using a transformation stored in the database. The picture identifier signifies which picture contains the required transformation structure. If this identifier is negative then the current picture is used. If no transformation structure is found then the identity transformation is used, i.e. the data coordinates equal the world coordinates.

Invocation

CALL AGI_TWTOD( PICID, NXY, WX, WY, DX, DY, STATUS )

Arguments

PICID = INTEGER (Given)
Picture identifier
NXY = INTEGER (Given)
Number of data points to transform
WX = REAL(NXY) (Given)
Array of x world coordinates
WY = REAL(NXY) (Given)
Array of y world coordinates
DX = REAL(NXY) (Returned)
Array of x data coordinates
DY = REAL(NXY) (Returned)
Array of y data coordinates
STATUS = INTEGER (Given and Returned)
The global status