uavsim.windmodel
Class WindVelocityCell.SubcellIndex

java.lang.Object
  extended by uavsim.windmodel.WindVelocityCell.SubcellIndex
Enclosing class:
WindVelocityCell

private final class WindVelocityCell.SubcellIndex
extends java.lang.Object

Defines a data wrapper for the row, column, and plane indices into the cell.

Author:
Dan Tappan [11.10.11]

Field Summary
(package private)  int _indexColumn
          the column index on the interval [0, CELL_SIZE_HORIZONTAL)
(package private)  int _indexPlane
          the plane index on the interval [0, CELL_SIZE_VERTICAL)
(package private)  int _indexRow
          the row index on the interval [0, CELL_SIZE_HORIZONTAL)
 
Constructor Summary
WindVelocityCell.SubcellIndex(int indexRow, int indexColumn, int indexPlane)
          Creates a subcell index.
 
Method Summary
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_indexColumn

int _indexColumn
the column index on the interval [0, CELL_SIZE_HORIZONTAL)


_indexPlane

int _indexPlane
the plane index on the interval [0, CELL_SIZE_VERTICAL)


_indexRow

int _indexRow
the row index on the interval [0, CELL_SIZE_HORIZONTAL)

Constructor Detail

WindVelocityCell.SubcellIndex

public WindVelocityCell.SubcellIndex(int indexRow,
                                     int indexColumn,
                                     int indexPlane)
Creates a subcell index.

Parameters:
indexRow - - the row index on the interval [0, CELL_SIZE_HORIZONTAL)
indexColumn - - the column index on the interval [0, CELL_SIZE_HORIZONTAL)
indexPlane - - the plane index on the interval [0, CELL_SIZE_VERTICAL)
Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object