BoxOverlap: Whether or not two boxes overlap 'BoxOverlap' Checks to see...

Description Usage Arguments Value

View source: R/scatterplot.R

Description

Whether or not two boxes overlap BoxOverlap Checks to see if two boxes overlap

Usage

1
2
BoxOverlap(ax1, ay1, bx1, by1, cx1, cy1, dx1, dy1, ax2, ay2, bx2, by2, cx2, cy2,
  dx2, dy2)

Arguments

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.

Value

true if the boxes overlap and false otherwise.


NumbersInternational/qrserver documentation built on May 9, 2017, 3:22 p.m.