get2Drayblox {RTOMO} | R Documentation |
Uses x-y coordinates of points to determine the indecies and lengths of rays penetrating the model.
get2Drayblox(x1, y1, x2, y2, xo, yo, NODES = FALSE, PLOT = FALSE)
x1 |
x coordinate of starting block |
y1 |
y coordinate of starting block |
x2 |
x coordinate of ending block |
y2 |
y coordinate of ending block |
xo |
x block divisions |
yo |
y block divisions |
NODES |
logical, whether xo, yo ae nodes or edges |
PLOT |
logical, TRUE=plot ray |
ix |
x index |
iy |
y index |
iz |
layer index |
lengs |
length in each block |
mids |
midpoints of sections |
nodes |
nodes of a 2D vector representation of layer |
LX |
x-divisions |
LY |
y-divisions |
Jonathan M. Lees<jonathan.lees@unc.edu>
get3Drayblox
xo = seq(from=0.5, by=1, length=100) yo = seq(from=0.5, by=1, length=100) IYZ = get2Drayblox(10, 4, 64, 50, xo, yo , NODES=FALSE, PLOT=FALSE)