PathSearchDistance
public struct PathSearchDistance : Equatable
Configures the horizon path search distance by specifying the maximum horizon length.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a distance with the maximum horizon length.
Throws
An exception of the typePathSearchDistance.InitializationErrorif maxHorizonLength is negative.Declaration
Swift
public init(maxHorizonLength: Measurement<UnitLength> = .tt.centimeters(0)) throwsParameters
maxHorizonLengthThe maximum length of the path in the horizon. If it is not specified, default value 0 will be used.
-
An error that occurs during the creation of the instance.
See moreDeclaration
Swift
public enum InitializationError : Error
PathSearchDistance Structure Reference