GridData -- Methods used by Value2dDisplay and Object2dDisplay for display
Methods required by widgets that display grids. User defined space objects must adopt this or any implementor of it in order to be accepted as data providers in the setDiscrete2dToDisplay method of Value2dDisplay and Object2dDisplay objects. User spaces must also define the macro discrete2dSiteAt(), versions of which can be found in Grid2d.h or Discrete2d.h.
Protocols adopted by GridData
Return the integer stored at (x,y).
Return the pointer stored at (x,y).
- (id *)getLattice
Returns the lattice pointer - use this for fast access.
Get the size of the lattice in the Y dimension.
Get the size of the lattice in the X dimension.