openplans/OpenTripPlanner — pull request #935 by flamholz (2012-12-05 19:33:03+00:00)
Title: Refactor CandidateEdge

All OTP tests pass.

Summary
* Make all the public fields protected. Add getters for things that need them.
* Fix a bug whereby the direction of the edge was computed incorrectly. Simply use DirectionUtils now.
* Add a test for the corner case where a query point is equidistant from multiple edges.
* Add a bunch of docs to CandidateEdge.