sim.portrayal3d.grid.quad
Class ValueGridCellInfo

java.lang.Object
  extended by sim.portrayal3d.grid.quad.ValueGridCellInfo

public class ValueGridCellInfo
extends java.lang.Object

Used by ValueGrid2DPortrayal3D to send needed value information to underlying QuadPortrayals. Specifically, ValueGridCellInfo contains the x,y,z dimensions of the current value point, plus a value() method which returns the current value at that point.


Field Summary
 int x
           
 int y
           
 int z
           
 
Constructor Summary
ValueGridCellInfo(Grid2D g)
           
ValueGridCellInfo(Grid3D g)
           
 
Method Summary
 double value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x

y

public int y

z

public int z
Constructor Detail

ValueGridCellInfo

public ValueGridCellInfo(Grid2D g)

ValueGridCellInfo

public ValueGridCellInfo(Grid3D g)
Method Detail

value

public double value()