Description Usage Arguments Value
Whether or not two boxes overlap
BoxOverlap
Checks to see if two boxes overlap
1 2 | BoxOverlap(ax1, ay1, bx1, by1, cx1, cy1, dx1, dy1, ax2, ay2, bx2, by2, cx2, cy2,
dx2, dy2)
|
ax1 |
The x coordinate of the bottom-left of the first box. |
ay1 |
The y coordinate of the bottom-left of the first box. |
bx1 |
The x coordinate of the bottom-right of the first box. |
by1 |
The y coordinate of the bottom-right of the first box. |
cx1 |
The x coordinate of the top-right of the first box. |
cy1 |
The y coordinate of the top-right of the first box. |
dx1 |
The x coordinate of the top-left of the first box. |
dy1 |
The y coordinate of the top-left of the first box. |
ax2 |
The x coordinate of the bottom-left of the second box. |
ay2 |
The y coordinate of the bottom-left of the second box. |
bx2 |
The x coordinate of the bottom-right of the second box. |
by2 |
The y coordinate of the bottom-right of the second box. |
cx2 |
The x coordinate of the top-right of the second box. |
cy2 |
The y coordinate of the top-right of the second box. |
dx2 |
The x coordinate of the top-left of the second box. |
dy2 |
The y coordinate of the top-left of the second box. |
true if the boxes overlap and false otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.