rectangle iterator
More...
#include <pdblock.h>
rectangle iterator
Definition at line 166 of file pdblock.h.
| BLOCK_LINE_IT::BLOCK_LINE_IT |
( |
PDBLK * |
blkptr | ) |
|
|
inline |
constructor
- Parameters
-
Definition at line 171 of file pdblock.h.
get a line
- Parameters
-
| y | line to get |
| xext | output extent |
Definition at line 375 of file pdblock.cpp.
384 if (y < bleft.
y () || y >= tright.
y ()) {
392 if (y >= bleft.
y () && y < tright.
y ()) {
394 xext = tright.
x () - bleft.
x ();
401 if (y >= bleft.
y () && y < tright.
y ()) {
403 xext = tright.
x () - bleft.
x ();
inT16 x() const
access function
void start_block()
start iteration
inT16 y() const
access_function
void error(const char *caller, TessErrorLogCode action, const char *format,...) const
BOOL8 cycled_rects()
test end
const ERRCODE BADBLOCKLINE
void bounding_box(ICOORD &bleft, ICOORD &tright)
const ERRCODE LOSTBLOCKLINE
void bounding_box(ICOORD &bottom_left, ICOORD &top_right) const
get box
void forward()
next rectangle
| void BLOCK_LINE_IT::set_to_block |
( |
PDBLK * |
blkptr | ) |
|
|
inline |
start (new) block
- Parameters
-
Definition at line 178 of file pdblock.h.
void set_to_block(PDBLK *blkptr)
start (new) block
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/tesseract-ocr-3.02.02/ccstruct/pdblock.h
- /home/abuild/rpmbuild/BUILD/tesseract-ocr-3.02.02/ccstruct/pdblock.cpp