rct_xmin {wk} | R Documentation |
Rectangle accessors and operators
Description
Rectangle accessors and operators
Usage
rct_xmin(x)
rct_ymin(x)
rct_xmax(x)
rct_ymax(x)
rct_width(x)
rct_height(x)
rct_intersects(x, y)
rct_contains(x, y)
rct_intersection(x, y)
Arguments
x , y |
|
Value
-
rct_xmin()
,rct_xmax()
,rct_ymin()
, andrct_ymax()
return the components of therct()
.
Examples
x <- rct(0, 0, 10, 10)
y <- rct(5, 5, 15, 15)
rct_xmin(x)
rct_ymin(x)
rct_xmax(x)
rct_ymax(x)
rct_height(x)
rct_width(x)
rct_intersects(x, y)
rct_intersection(x, y)
rct_contains(x, y)
rct_contains(x, rct(4, 4, 6, 6))
[Package wk version 0.9.2 Index]