nw
Number of real words to be set aside for storing polygon vertices
= 0,
Delete polygon workspace
> 0,
Create or change size of polygon workspace
Description
The routine gDefinePolygonWorkspace() creates a workspace to store polygon vertices. Each vertex requires two real words and each polygon requires a header of eight real words.
Therefore if:
p = Number of polygons
v = Total number of polygon vertices to be stored
Then
nw = 2v+8p.
Allowance must be made for this amount of space when calling gSetWorkspaceLimit().
To change the size of the polygon workspace gDefinePolygonWorkspace() may be called more than once. A call to gDefinePolygonWorkspace(0) deletes the polygon workspace and frees the space in the total workspace area. Any value less than zero will generate an error message.