rectangle iterator  
 More...
#include <pdblock.h>
rectangle iterator 
Definition at line 145 of file pdblock.h.
 
◆ BLOCK_LINE_IT()
  
  
      
        
          | BLOCK_LINE_IT::BLOCK_LINE_IT  | 
          ( | 
          PDBLK *  | 
          blkptr | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
constructor 
- Parameters
 - 
  
  
 
Definition at line 150 of file pdblock.h.
 
 
◆ get_line()
      
        
          | int16_t BLOCK_LINE_IT::get_line  | 
          ( | 
          int16_t  | 
          y,  | 
        
        
           | 
           | 
          int16_t &  | 
          xext  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
get a line 
- Parameters
 - 
  
    | y | line to get  | 
    | xext | output extent  | 
  
   
Definition at line 347 of file pdblock.cpp.
  356   if (y < bleft.
y () || y >= tright.
y ()) {
   364   if (y >= bleft.
y () && y < tright.
y ()) {
   366     xext = tright.
x () - bleft.
x ();
   373     if (y >= bleft.
y () && y < tright.
y ()) {
   375       xext = tright.
x () - bleft.
x ();
 int16_t y() const
access_function 
 
void forward()
next rectangle 
 
const ERRCODE LOSTBLOCKLINE
 
bool cycled_rects()
test end 
 
int16_t x() const
access function 
 
void bounding_box(ICOORD &bleft, ICOORD &tright)
 
const ERRCODE BADBLOCKLINE
 
void bounding_box(ICOORD &bottom_left, ICOORD &top_right) const
get box 
 
void start_block()
start iteration 
 
void error(const char *caller, TessErrorLogCode action, const char *format,...) const
 
 
 
 
◆ set_to_block()
  
  
      
        
          | void BLOCK_LINE_IT::set_to_block  | 
          ( | 
          PDBLK *  | 
          blkptr | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
start (new) block
- Parameters
 - 
  
  
 
Definition at line 157 of file pdblock.h.
void set_to_block(PDBLK *blkptr)
start (new) block 
 
 
 
 
The documentation for this class was generated from the following files:
- /usr/src/tesseract-ocr.master/src/ccstruct/pdblock.h
 
- /usr/src/tesseract-ocr.master/src/ccstruct/pdblock.cpp