MEDYAN.filter_grididat

Tuple{Any, MEDYAN.CubicGrid, Any}

filter_grididat(f, grid::CubicGrid, location)

Return the nearest grid id of location where f(id) evaluates to true. The origin is in the center. errors if there is no id that evaluates to true. Returns a close by voxel if out of the grid.