20 #ifndef TESSERACT_CSTRUCT_BOXWORD_H__
21 #define TESSERACT_CSTRUCT_BOXWORD_H__
103 return boxes_[index];
106 if (index < 0 || index >= script_pos_.
size())
108 return script_pos_[index];
112 void ComputeBoundingBox();
123 #endif // TESSERACT_CSTRUCT_BOXWORD_H__
static BoxWord * CopyFromNormalized(const DENORM *denorm, TWERD *tessword)
void ProcessMatchedBlobs(const TWERD &other, TessCallback1< int > *cb) const
void CopyFrom(const BoxWord &src)
BoxWord & operator=(const BoxWord &src)
void ClipToOriginalWord(const BLOCK *block, WERD *original_word)
void MergeBoxes(int start, int end)
void SetScriptPositions(const UNICHARSET &unicharset, bool small_caps, TWERD *tessword, WERD_CHOICE *best_choice)
void DeleteBox(int index)
const TBOX & bounding_box() const
ScriptPos BlobPosition(int index) const
void InsertBox(int index, const TBOX &box)
const TBOX & BlobBox(int index) const