Checks if two Rectangles intersect and returns the intersection points as a Point object array.
A Rectangle intersects another Rectangle if any part of its bounds is within the other Rectangle's bounds. As such, the two Rectangles are considered "solid". A Rectangle with no width or no height will never intersect another Rectangle.
The first Rectangle to check for intersection.
The second Rectangle to check for intersection.
An optional array in which to store the points of intersection.
An array with the points of intersection if objects intersect, otherwise an empty array.