/// <summary> /// calculates the distance from end Intersection to the End location /// </summary> /// <returns></returns> public double CalculateDistanceToEnd() { return(Util.MathUtil.Distance(Intersections.Last().Location, End)); }