Requires that rect1 contains rect2 with some optional margin padding.
rect1
rect2
padding
The top-right, top-left, bottom-left, bottom-right points (in that order) of rectangle rect1
The top-right, top-left, bottom-left, bottom-right points (in that order) points of rectangle rect2
Margin between the polygon and the point (default: 0)
Requires that
rect1
containsrect2
with some optional marginpadding
.