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