Learn R Programming

AMAPVox (version 2.2.1)

getVoxelSize: Gets the elemental size of a voxel (dx, dy, dz) in meter.

Description

Gets the elemental size of a voxel (dx, dy, dz) in meter.

Usage

getVoxelSize(vxsp)

# S4 method for VoxelSpace getVoxelSize(vxsp)

Value

the size of the voxel in meter, as a numerical vector.

Arguments

vxsp

the VoxelSpace object.

Examples

Run this code
# load a voxel file
vxsp <- readVoxelSpace(system.file("extdata", "tls_sample.vox", package = "AMAPVox"))
# retrieve voxel size
getVoxelSize(vxsp)

Run the code above in your browser using DataLab