tesseract
4.0.0-1-g2a2b
|
#include <bbgrid.h>
Public Member Functions | |
GridBase ()=default | |
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_ |
|
default |
Definition at line 30 of file bbgrid.cpp.
|
virtualdefault |
|
inline |
void tesseract::GridBase::ClipGridCoords | ( | int * | x, |
int * | y | ||
) | const |
Definition at line 60 of file bbgrid.cpp.
void tesseract::GridBase::GridCoords | ( | int | x, |
int | y, | ||
int * | grid_x, | ||
int * | grid_y | ||
) | const |
Definition at line 53 of file bbgrid.cpp.
|
inline |
|
inline |
Definition at line 41 of file bbgrid.cpp.
|
inline |