MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenImageIO / roi_intersection

Function roi_intersection

src/libOpenImageIO/imagebuf.cpp:120–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119
120ROI
121roi_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

Callers 5

copy_block_Function · 0.85
copy_pixelsMethod · 0.85
fixNonFinite_Function · 0.85
IBAprepMethod · 0.85
ImageRecMethod · 0.85

Calls 1

ROIClass · 0.85

Tested by

no test coverage detected