inline bool intersects(point2d<T> const a, rect<U> const b) { return b.intersects(a); }
inline bool intersects(rect<T> const a, point2d<U> const b) { return a.intersects(b); }