agentsWithin

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

All agents currently in voxels within radius of voxel under metric. Excludes occupants of voxel itself unless includeCenter is true.