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 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
.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes instance of
RouteLengthPolicy
.Declaration
Swift
public init()