Main Page   Compound List   File List   Compound Members  

CellGrid Class Reference

#include <CellGrid.h>

List of all members.

Public Methods

 CellGrid ()
virtual ~CellGrid ()
void initGrid (int dsep)
void initCellList ()
void getCellAddress (int x, int y)

Public Attributes

int col
int row
Cell * grid


Detailed Description

This class is used as superimposed grid.


Constructor & Destructor Documentation

CellGrid::CellGrid (    )  [inline]
 

Constructor of CellGrid calls protected funtion Initialize.

virtual CellGrid::~CellGrid (    )  [inline, virtual]
 

Destructor of CellGrid calls protected function Destroy.


Member Function Documentation

void CellGrid::getCellAddress (  int    x,
int    y
) 
 

Get the address of the cell containing the point (x,y).

void CellGrid::initCellList (    ) 
 

Initialize CellList for address-index 0, i. e. get all cells on the lower left corner with cell 0 as middle (therefore exactly 4 cells remain).

void CellGrid::initGrid (  int    dsep ) 
 

Initialize the grid. All grid cells are of distance dsep.


The documentation for this class was generated from the following files:
Generated on Tue Jan 22 19:13:38 2002 for FlowViz by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001