#include <SL_Grid.h>
Public Methods | |
| SL_Grid () | |
| SL_Grid (CGlobalState *refGlobal) | |
| virtual | ~SL_Grid () |
| bool | AddDot (const Vec2f dotPtr) |
| float | GetCellSize () |
| void | SetWidthHeight (float fWidth, float fHeight, float fDsep) |
| int | GetNumerElements_Grid () |
| bool | AllowSetPoint_AskNeibour (const Vec2f dotPtr) |
| void | toString () |
Public Attributes | |
| vector< SL_GridCell > | v_grid |
| float | fWidthX |
| float | fHeightY |
Protected Methods | |
| bool | AllowSetPoint (const Vec2f dotPtr, int indexX, int indexY, int iGridIndex1D) |
| bool | AllowSetPoint (const Vec2f dotPtr, int indexX, int indexY) |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
test if dot my be set. if true, dot is inserted into grid. TRUE means dot my be inserted. FALSE means position is blocked. |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc2