tesseract
3.05.02
|
#include <bbgrid.h>
Public Member Functions | |
GridBase () | |
GridBase (int gridsize, const ICOORD &bleft, const ICOORD &tright) | |
virtual | ~GridBase () |
void | Init (int gridsize, const ICOORD &bleft, const ICOORD &tright) |
int | gridsize () const |
int | gridwidth () const |
int | gridheight () const |
const ICOORD & | bleft () const |
const ICOORD & | tright () const |
void | GridCoords (int x, int y, int *grid_x, int *grid_y) const |
void | ClipGridCoords (int *x, int *y) const |
Protected Attributes | |
int | gridsize_ |
int | gridwidth_ |
int | gridheight_ |
int | gridbuckets_ |
ICOORD | bleft_ |
ICOORD | tright_ |
tesseract::GridBase::GridBase | ( | ) |
Definition at line 30 of file bbgrid.cpp.
Definition at line 33 of file bbgrid.cpp.
|
virtual |
Definition at line 37 of file bbgrid.cpp.
|
inline |
void tesseract::GridBase::ClipGridCoords | ( | int * | x, |
int * | y | ||
) | const |
Definition at line 61 of file bbgrid.cpp.
void tesseract::GridBase::GridCoords | ( | int | x, |
int | y, | ||
int * | grid_x, | ||
int * | grid_y | ||
) | const |
Definition at line 54 of file bbgrid.cpp.
|
inline |
|
inline |
Definition at line 42 of file bbgrid.cpp.
|
inline |