Description Usage Arguments Details Value Examples
View source: R/manage_voxels.R
Defines the voxel space using minimum and maximum coordinates
1 2 3 4 5 6 | voxel_space(
coord_min = c(0, 0, 0),
voxel_size = NULL,
n_voxel = NULL,
coord_max = NULL
)
|
coord_min |
Vector of the minimum 3D coordinates of the voxel space (point of origin, see details) |
voxel_size |
Vector of the lengths of the voxel side in x, y and z. |
n_voxel |
The number of voxels in c, y and z (optional, see details) |
coord_max |
Vector of the maximum 3D coordinates of the voxel space |
The 3D coordinates have the form of c(x,y,z). The user chooses to compute the voxel space from a pair of arguments: either voxel_size and n_voxel, either voxel_size and coord_max, or n_voxel and coord_max.
A voxel space
1 | voxel_space(voxel_size= c(1,1,1), n_voxel= c(10,10,20))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.