PathSearchDistance
public struct PathSearchDistance : Equatable
Horizon path search distance configuration.
The search distance defines the extent of the path in the horizon.
For more information on horizon paths see HorizonEngine.
For more information on horizon options see HorizonOptions.
-
Creates a distance with the maximum horizon length.
Throws
InitializationError.invalidHorizonLengthifmaxHorizonLengthis negative.Declaration
Swift
public init(maxHorizonLength: Measurement<UnitLength>) throwsParameters
maxHorizonLengthThe maximum length of the path in the horizon.
-
An error that occurs during the creation of the instance.
See moreDeclaration
Swift
public enum InitializationError : Error -
The maximum length of the path in the horizon.
Declaration
Swift
public let maxHorizonLength: Measurement<UnitLength>
TomTom SDK for iOS (0.53.1)
PathSearchDistance