| 753 | } |
| 754 | |
| 755 | void ShapeConstraint::updateHeightRange(const ShapeRange& other) { |
| 756 | try { |
| 757 | _heightRange = _heightRange.intersect(other); |
| 758 | } |
| 759 | catch (std::runtime_error& e) { |
| 760 | std::string err = "Invalid height range in blob " + _name + ". " + e.what(); |
| 761 | throw std::runtime_error(err); |
| 762 | } |
| 763 | } |
| 764 | |
| 765 | void ShapeConstraint::updateWidthRange(const ShapeRange& other) { |
| 766 | try { |
no test coverage detected