getVoxelSize.Rd
Gets the elemental size of a voxel (dx, dy, dz) in meter.
getVoxelSize(vxsp)
# S4 method for VoxelSpace
getVoxelSize(vxsp)
the VoxelSpace
object.
the size of the voxel in meter, as a numerical vector.
# load a voxel file
vxsp <- readVoxelSpace(system.file("extdata", "tls_sample.vox", package = "AMAPVox"))
# retrieve voxel size
getVoxelSize(vxsp)
#> x y z
#> 0.5 0.5 0.5