20 #ifndef TESSERACT_CSTRUCT_BOXWORD_H_ 21 #define TESSERACT_CSTRUCT_BOXWORD_H_ 85 int length()
const {
return length_; }
91 void ComputeBoundingBox();
100 #endif // TESSERACT_CSTRUCT_BOXWORD_H_ void DeleteBox(int index)
const TBOX & BlobBox(int index) const
void ProcessMatchedBlobs(const TWERD &other, TessCallback1< int > *cb) const
void MergeBoxes(int start, int end)
static BoxWord * CopyFromNormalized(TWERD *tessword)
void ChangeBox(int index, const TBOX &box)
const TBOX & bounding_box() const
BoxWord & operator=(const BoxWord &src)
void CopyFrom(const BoxWord &src)
void InsertBox(int index, const TBOX &box)
void ClipToOriginalWord(const BLOCK *block, WERD *original_word)