Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Grid Class Reference

Class for grid handling. More...

#include <Grid.h>

List of all members.

Public Methods

 Grid (Options *)
 Constructor. More...

void getPoint (double, double, double &, double &)
 Gets the nearest point on the grid to any point. More...


Private Attributes

Optionsoptions
 Pointer to the options.


Detailed Description

Class for grid handling.


Constructor & Destructor Documentation

Grid::Grid Options * opt
 

Constructor.

Initialises the Grid object.

Parameters:
opt   application options which store the grid size and color.


Member Function Documentation

void Grid::getPoint double x,
double y,
double & gx,
double & gy
 

Gets the nearest point on the grid to any point.

Parameters:
x   x coordinate of point
y   y coordinate of point
gx   x coordinate of the nearest point on the grid
gy   y coordinate of the nearest point on the grid


The documentation for this class was generated from the following files:
Generated at Fri Apr 11 22:37:15 2003 for Qfsm by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001