rectangle iterator
More...
#include <pdblock.h>
rectangle iterator
Definition at line 144 of file pdblock.h.
◆ BLOCK_LINE_IT()
BLOCK_LINE_IT::BLOCK_LINE_IT |
( |
PDBLK * |
blkptr | ) |
|
|
inline |
constructor
- Parameters
-
Definition at line 149 of file pdblock.h.
◆ get_line()
get a line
- Parameters
-
y | line to get |
xext | output extent |
Definition at line 345 of file pdblock.cpp.
354 if (y < bleft.
y () || y >= tright.
y ()) {
362 if (y >= bleft.
y () && y < tright.
y ()) {
364 xext = tright.
x () - bleft.
x ();
371 if (y >= bleft.
y () && y < tright.
y ()) {
373 xext = tright.
x () - bleft.
x ();
const ERRCODE BADBLOCKLINE
void bounding_box(ICOORD &bleft, ICOORD &tright)
inT16 x() const
access function
BOOL8 cycled_rects()
test end
void bounding_box(ICOORD &bottom_left, ICOORD &top_right) const
get box
const ERRCODE LOSTBLOCKLINE
void forward()
next rectangle
void error(const char *caller, TessErrorLogCode action, const char *format,...) const
inT16 y() const
access_function
void start_block()
start iteration
◆ set_to_block()
void BLOCK_LINE_IT::set_to_block |
( |
PDBLK * |
blkptr | ) |
|
|
inline |
start (new) block
- Parameters
-
Definition at line 156 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/stweil/src/github/tesseract-ocr/tesseract/ccstruct/pdblock.h
- /home/stweil/src/github/tesseract-ocr/tesseract/ccstruct/pdblock.cpp