jonatkins/ingress-intel-total-conversion — pull request #701 by nexushoratio (2013-12-15 09:08:24+00:00)
Title: Simplify code; provide identity snapPoint function

I think this covers everything that IITC uses. If you intend to push snapping upstream, then it may need additional testing to make sure all of the corner cases are handled.