I'm looking for an algorithm to detect if two rectangles intersect (one at an arbitrary angle, the other with only …