51 void set_sides(ICOORDELT_LIST *left, ICOORDELT_LIST *right);
62 bottom_left = box.botleft();
63 top_right = box.topright();
68 int index()
const {
return index_; }
75 void move(
const ICOORD vec);
83 #ifndef GRAPHICS_DISABLED 89 #endif // GRAPHICS_DISABLED 122 return left_it.cycled_list() && right_it.cycled_list();
131 bleft =
ICOORD (left_it.data ()->x (), ymin);
133 tright =
ICOORD (right_it.data ()->x (), ymax);
140 ICOORDELT_IT left_it;
141 ICOORDELT_IT right_it;
160 rect_it.set_to_block (blkptr);
166 int16_t get_line(int16_t y,
ICOORDELT_LIST leftside
left side vertices
ICOORDELT_LIST rightside
right side vertices
POLY_BLOCK * poly_block() const
BLOCK_LINE_IT(PDBLK *blkptr)
bool cycled_rects()
test end
Pix * render_mask(TBOX *mask_box)
void bounding_box(ICOORD &bottom_left, ICOORD &top_right) const
get box
void set_to_block(PDBLK *blkptr)
int index_
Serial number of this block.
BLOCK & operator=(const BLOCK &source)
POLY_BLOCK * hand_poly
weird as well
void set_poly_block(POLY_BLOCK *blk)
set the poly block
const TBOX & bounding_box() const
get real box
void bounding_box(ICOORD &bleft, ICOORD &tright)
CLISTIZEH(STRING) CLISTIZE(STRING) namespace tesseract
void set_index(int value)