11.1 Summary

The UWPACK is a subroutine package for handling information on 2-D grip-point coordinates.



UWPACK contains the following subroutines and functions. (In the following routines, those with 'x' as the 5th character in their name are routines for the X axis, and those with 'y' are for the Y axis.)

UWSGXA/UWSGYA  . . . Sets grid points by specifying the coordinate values.
UWQGXA/UWQGYA  . . .   Inquires a coordinate value of a grid point.
UWSGXB/UWSGYB  . . . Sets grid pints by specifying the minimum and maximum values and the number of grid points.
UWQGXB/UWQGYB  . . . Inquires the minimum and maximum values and the number of grid points.
UWSGXZ/UWSGYZ  . . . Specifies whether grid points are defined.
UWQGXZ/UWQGYZ  . . . Inquires whether grid points are defined.
UWDFLT  . . . Sets evenly-spaced grid points when the coordinate values are not specified.

RUWGX/RUWGY  . . . Inquires the coordinate value of a grid point.
IUWGX/IUWGY  . . . Inquires the grid point number.
UWQGXI/UWQGYI  . . . Inquires the grid point number and position.



These are used in the UDPACK (Section 8), UEPACK (Section 9), and UGPACK (Section10), and share information concerning the grid points. For example, when you wish to draw contours (UDPACK) and perform tone fill (UEPACK) on an array with the same grid structure, you will only need to specify the information concerning the grid points once at the start with UWPACK, and the UDPACK and UEPACK will use this information to draw.



Internally, the grid- point information is handled in a COMMON block named UWBLKX and UWBLKY. The user must not use an external procedure or a COMMON block with the same name.