GINO Graphics Suite - GINO v9.0  

gDefinePointWorkspace

Syntax

[C/C++:]
void gDefinePointWorkspace(int nw);
[F90:]
subroutine gDefinePointWorkspace(nw)
integer, intent(in) :: nw

Arguments

nw
Number of real words to be set aside for storing internal point vertices.

= 0, Delete point workspace
> 0, Create or change size of point workspace

Description

The routine gDefinePointWorkspace() creates a workspace to store internal vertices generated by all the 2D and 3D drawing routines. Each vertex requires four real words. Allowance must be made for this amount of space when calling gSetWorkspaceLimit().

To change the size of the point workspace, gDefinePointWorkspace() may be called more than once. A call to gDefinePointWorkspace(0) deletes the point workspace and frees the space in the total workspace area. Any value less than zero will generate an error message.

Point storage is switch on and off using the routine gSetPointMode() and points are returned to the application using either gReturnInternalPoints2D() or gReturnInternalPoints3D().

See Also

gDefinePointWorkspace Usage
gReturnInternalPoints2D
gReturnInternalPoints3D
gSetPointMode
gSetWorkspaceLimit