Range
public struct Range
Boundaries of the areas reachable from an initial vehicle position given one or more budgets, such as a certain amount of energy or fuel.
A range boundary for each of the budgets specified in the RangeCalculationOptions
.
Declaration
Swift
public let boundaries: [Budget : RangeBoundary]
Creates a new Range
instance.
Declaration
Swift
public init(origin: CLLocationCoordinate2D, boundaries: [Budget : RangeBoundary])
Parameters
origin
|
The point from where the range was calculated. This is always a position on a road and thus might differ from the origin specified in the |
boundaries
|
A range boundary for each of the budgets specified in the |
The point from where the range was calculated. This is always a position on a road and thus might differ from the origin specified in the RangeCalculationOptions
.
Declaration
Swift
public let origin: CLLocationCoordinate2D