gpsr: bugfix: was a side effect in getNextPlanarNeighborCounterClockwise()
gpsr: const functions let be const, static functions let be static