Returns true if *this and other have equal bounding boxes.
| 217 | TBOX bounding_box() const; |
| 218 | // Returns true if *this and other have equal bounding boxes. |
| 219 | bool SameBox(const TESSLINE& other) const { |
| 220 | return topleft == other.topleft && botright == other.botright; |
| 221 | } |
| 222 | // Returns true if the given line segment crosses any outline of this blob. |
| 223 | bool SegmentCrosses(const TPOINT& pt1, const TPOINT& pt2) const { |
| 224 | if (Contains(pt1) && Contains(pt2)) { |
no outgoing calls
no test coverage detected