| 118 | |
| 119 | |
| 120 | ROI |
| 121 | roi_intersection (const ROI &A, const ROI &B) |
| 122 | { |
| 123 | return ROI (std::max (A.xbegin, B.xbegin), std::min (A.xend, B.xend), |
| 124 | std::max (A.ybegin, B.ybegin), std::min (A.yend, B.yend), |
| 125 | std::max (A.zbegin, B.zbegin), std::min (A.zend, B.zend), |
| 126 | std::max (A.chbegin, B.chbegin), std::min (A.chend, B.chend)); |
| 127 | } |
| 128 | |
| 129 | |
| 130 |
no test coverage detected