Gets the x, y, z coordinates of the voxel space top right corner.

getMaxCorner(vxsp)

# S4 method for VoxelSpace
getMaxCorner(vxsp)

Arguments

vxsp

the VoxelSpace object.

Value

the x, y, z coordinates of the voxel space top right corner, as a numerical vector.

Examples

# load a voxel file
vxsp <- readVoxelSpace(system.file("extdata", "tls_sample.vox", package = "AMAPVox"))
# retrieve 'max_corner' parameter
getMaxCorner(vxsp)
#>   x   y   z 
#> 7.5 4.0 3.5