Esempio n. 1
0
 /// <summary>
 /// Gets the closest position to the coordinates on a specific lane in the rndf network
 /// </summary>
 /// <param name="coordinate"></param>
 /// <param name="lane"></param>
 /// <param name="rndfNetwork"></param>
 /// <returns></returns>
 public static LocationAnalysis ClosestRndfRelativeParition(Coordinates coordinate, LaneID lane, RndfNetwork rndfNetwork)
 {
     // use point analysis tool
     return(PointAnalysis.ClosestPartitionOnLane(coordinate, lane, rndfNetwork));
 }
Esempio n. 2
0
 /// <summary>
 /// Gets the closest position to the coordinates on any lane in the rndf network
 /// </summary>
 /// <param name="coordinate"></param>
 /// <param name="rndfNetwork"></param>
 /// <returns></returns>
 public static LocationAnalysis ClosestRndfRelativeLanePartition(Coordinates coordinate, RndfNetwork rndfNetwork)
 {
     // use the point analysis tool
     return(PointAnalysis.GetClosestLanePartition(coordinate, rndfNetwork));
 }