src/ccstruct/ocrrow.cpp
TBOX ROW::restricted_bounding_box(bool upper_dots, bool lower_dots) const {
  TBOX box;
  // This is a read-only iteration of the words in the row.
  WERD_IT it(const_cast<WERD_LIST *>(&words));
  for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {
    box += it.data()->restricted_bounding_box(upper_dots, lower_dots);
  }
  return box;
}
// Returns the bounding box including the desired combination of upper and
// lower noise/diacritic elements.
Returns the bounding box including the desired combination of upper and
lower noise/diacritic elements.
Returns the bounding box including the desired combination of upper and lower noise / diacritic elements .
TBOX ROW::restricted_bounding_box(bool upper_dots, bool lower_dots) const {
  TBOX box;
  WERD_IT it(const_cast<WERD_LIST *>(&words));
  for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {
    box += it.data()->restricted_bounding_box(upper_dots, lower_dots);
  }
  return box;
}
TBOX ROW :: restricted_bounding_box ( bool upper_dots , bool lower_dots ) const { TBOX box ; WERD_IT it ( const_cast < WERD_LIST * > ( & words ) ) ; for ( it . mark_cycle_pt ( ) ; ! it . cycled_list ( ) ; it . forward ( ) ) { box += it . data ( ) -> restricted_bounding_box ( upper_dots , lower_dots ) ; } return box ; }
Returns the bounding box including the desired combination of upper and
lower noise/diacritic elements.
Returns the bounding box including the desired combination of upper and lower noise / diacritic elements .
// This is a read-only iteration of the words in the row.