Exemplo n.º 1
0
 /// <summary>
 /// Builds a route based on a raw path.
 /// </summary>
 public abstract Result <Route> BuildRoute <T>(IProfileInstance profile, WeightHandler <T> weightHandler, RouterPoint source, RouterPoint target, EdgePath <T> path) where T : struct;
Exemplo n.º 2
0
 /// <summary>
 /// Checks if the given point is connected to the rest of the network. Use this to detect points on routing islands.
 /// </summary>
 /// <param name="radiusInMeter">The radius metric, that's always a distance.</param>
 /// <returns></returns>
 public abstract Result <bool> TryCheckConnectivity(IProfileInstance profile, RouterPoint point, float radiusInMeter, bool?forward = null);
Exemplo n.º 3
0
 /// <summary>
 /// Calculates a route between the two locations.
 /// </summary>
 /// <returns></returns>
 public abstract Result <EdgePath <T> > TryCalculateRaw <T>(IProfileInstance profile, WeightHandler <T> weightHandler, RouterPoint source, RouterPoint target,
                                                            RoutingSettings <T> settings = null) where T : struct;