src/ccstruct/seam.cpp
TBOX SEAM::bounding_box() const {
  TBOX box(location_.x, location_.y, location_.x, location_.y);
  for (int s = 0; s < num_splits_; ++s) {
    box += splits_[s].bounding_box();
  }
  return box;
}
// Returns the bounding box of all the points in the seam.
Returns the bounding box of all the points in the seam.
Returns the bounding box of all the points in the seam .
TBOX SEAM::bounding_box() const {
  TBOX box(location_.x, location_.y, location_.x, location_.y);
  for (int s = 0; s < num_splits_; ++s) {
    box += splits_[s].bounding_box();
  }
  return box;
}
TBOX SEAM :: bounding_box ( ) const { TBOX box ( location_ . x , location_ . y , location_ . x , location_ . y ) ; for ( int s = 0 ; s < num_splits_ ; ++ s ) { box += splits_ [ s ] . bounding_box ( ) ; } return box ; }
Returns the bounding box of all the points in the seam.
Returns the bounding box of all the points in the seam .