Calculate query tolerance for spatial index based on spatial extension.
The tolerance determines how far from the current slice position we need to query for potentially visible points:
Current view configuration
Spatial extension configuration
Number of dimensions
Array of tolerances for each dimension
Calculate query tolerance for spatial index based on spatial extension.
The tolerance determines how far from the current slice position we need to query for potentially visible points: