getResolution {AMAPVox}R 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

getResolution(voxelSpace)

## S4 method for signature 'VoxelSpace'
getResolution(voxelSpace)

Arguments

voxelSpace

the VoxelSpace-class object.

Value

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

Examples

# load a voxel file
vox <- readVoxelSpace(system.file("extdata", "als_sample.vox", package = "AMAPVox"))
# retrieve 'resolution' parameter
getResolution(vox)

[Package AMAPVox version 0.1.0 Index]