RouteOptions
Configuration options for route calculation.
RouteOptions allows the specification of flags to avoid during route calculation.
Since
0.0.86
Constructors
Types
Properties
Each of the route's endpoints joins the path network at its closest vertex on its level. When true, a vertex is skipped if every path leaving it, for the start, or entering it, for a destination, has a flag in avoidFlags. Paths that run both ways count as both. When false, the closest vertex is always used, which usually makes the route RouteResult.Failure.Unreachable if all its paths are avoided. If no vertex qualifies, the route is RouteResult.Failure.OriginNotOnPaths or RouteResult.Failure.DestinationsNotOnPaths.
A set of flags indicating path types or areas to avoid during routing
The mechanism to use to attach the route's destination to the path network.
The mechanism to use to attach the route's origin to the path network.