RouteLengthPolicy
public struct RouteLengthPolicy : PathSearchDistancePolicy
Policy that binds the horizon path to the entire route.
The main path is the path the user currently follows, extending along the most likely trajectory. If the horizon
options specify this policy, the horizon engine HorizonEngine
searches along the entire route when extending the
main path.
For more information on horizon paths see HorizonEngine
.
For more information on horizon options see HorizonOptions
.
To search within a specific distance use the ExplicitDistancePolicy
.
-
Initializes instance of
RouteLengthPolicy
.Declaration
Swift
public init()