Checks for intersection between Rectangle shape and Triangle shape, and returns the intersection points as a Point object array.
Rectangle object to test.
Triangle object to test.
Optional
An optional array in which to store the points of intersection.
Checks for intersection between Rectangle shape and Triangle shape, and returns the intersection points as a Point object array.