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

getVoxelSizeR Documentation

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 signature 'VoxelSpace'
getVoxelSize(vxsp)

Arguments

vxsp

the VoxelSpace object.

Value

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

Examples

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

AMAPVox documentation built on Aug. 24, 2022, 5:07 p.m.