voxelsWithin

fun voxelsWithin(voxel: Voxel, radius: Int, metric: VoxelMetric = VoxelMetric.CHEBYSHEV, includeSelf: Boolean = false): List<Voxel>(source)

All voxels within radius of voxel under the given metric. Excludes voxel itself unless includeSelf is true. Voxels outside the bounds are dropped for non-torus grids.