ComparatorPotentialFieldValue

Compares potentials of two points on a given grid returning either -1 or 1. This comparison is used to order points by its respective potential value for the fast marching algorithm.


Field: grid [CellGrid]

Grid whose potential have to be compared.