DistanceGrid
DistanceGrid is a data structure used in computational geometry and spatial analysis. It represents a discrete approximation of space where each cell or point within the grid has an associated value representing its distance to a specific object or set of objects. This distance can be Euclidean, Manhattan, or another defined metric.
The primary purpose of a DistanceGrid is to efficiently query the distance from any point in the
Applications of DistanceGrids are diverse. They are commonly used in pathfinding algorithms, where the grid can