View source: R/in_cuboid_function.R
in_cuboid | R Documentation |
Function that checks for each X-Y-coordinate pair, whether the point lies in a cuboid of a given center, side length and height. Works with single numbers or matrices of X- and Y-coordinates as input.
in_cuboid(Xcor, Ycor, Zcor, Xctr, Yctr, Zbase, sidelength, height)
Xcor |
X-coordinate of the point |
Ycor |
Y-coordinate of the point |
Zcor |
Z-coordinate of the point |
Xctr |
X-coordinate of the center |
Yctr |
Y-coordinate of the center |
Zbase |
Z-coordinate of the lower end |
sidelength |
horizontal length and width of the cuboid |
height |
...of the cuboid |
boolean or matrix of booleans
Nikolai Knapp
in progress
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.