public double GetStepDirection(Step step) { return(TrigonometryUtility.GetDegreeBearing(step.StartLocation.Latitude, step.StartLocation.Longitude, step.EndLocation.Latitude, step.EndLocation.Longitude));; }
public double GetPathDirection() { return(TrigonometryUtility.GetDegreeBearing(pathLeg.StartLocation.Latitude, pathLeg.StartLocation.Longitude, pathLeg.EndLocation.Latitude, pathLeg.EndLocation.Longitude));; }