ClosestPoint() public method

Calculates the closest Coordinate to a line created by two other Coordinates. The resulting Coordinate is not garunteed to fall between the two endpoint Coordinates.
public ClosestPoint ( Coordinate endpoint1, Coordinate endpoint2 ) : Coordinate
endpoint1 Coordinate A Coordinate on the line.
endpoint2 Coordinate Another Coordinate on the line.
return Coordinate
        static void Main(string[] args)
        {
            World world = World.GenerateWorld(JsonHelper.ParseNetlink("http://shuttles.rpi.edu/displays/netlink.js"));
            EtaCalculator etaCalc = new EtaCalculator(world);

            Coordinate ep1 = new Coordinate(37760814, -77030853);
            Coordinate ep2 = new Coordinate(40366681, -123921572);
            Coordinate c = new Coordinate(55891119, -92376489);
            c = c.ClosestPoint(ep1, ep2);
            Console.WriteLine(c.ToString());

            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();
            //while (true)
            //{
            //	etaCalc.Recalculate();
            //}
        }