50 void set_sides(ICOORDELT_LIST *left, ICOORDELT_LIST *right);
61 bottom_left = box.botleft();
62 top_right = box.topright();
67 int index()
const {
return index_; }
74 void move(
const ICOORD vec);
82 #ifndef GRAPHICS_DISABLED 88 #endif // GRAPHICS_DISABLED 121 return left_it.cycled_list() && right_it.cycled_list();
130 bleft =
ICOORD (left_it.data ()->x (), ymin);
132 tright =
ICOORD (right_it.data ()->x (), ymax);
138 PDBLK* block =
nullptr;
139 ICOORDELT_IT left_it;
140 ICOORDELT_IT right_it;
159 rect_it.set_to_block (blkptr);
165 int16_t get_line(int16_t y,
void bounding_box(ICOORD &bottom_left, ICOORD &top_right) const
get box
BLOCK_LINE_IT(PDBLK *blkptr)
int index_
Serial number of this block.
const TBOX & bounding_box() const
get real box
void set_poly_block(POLY_BLOCK *blk)
set the poly block
ICOORDELT_LIST leftside
left side vertices
Pix * render_mask(TBOX *mask_box)
void set_to_block(PDBLK *blkptr)
void set_index(int value)
void bounding_box(ICOORD &bleft, ICOORD &tright)
ICOORDELT_LIST rightside
right side vertices
CLISTIZEH(STRING) CLISTIZE(STRING) namespace tesseract
POLY_BLOCK * hand_poly
weird as well
BLOCK & operator=(const BLOCK &source)
bool cycled_rects()
test end
POLY_BLOCK * poly_block() const