| 49 | |
| 50 | template <typename rect_type> |
| 51 | bool contains_rec(const rect_type& r, const rect_type& r2) { return r.contains(r2); } |
| 52 | |
| 53 | template <typename rect_type> |
| 54 | rect_type intersect(const rect_type& r, const rect_type& r2) { return r.intersect(r2); } |