Pedestrian
public struct Pedestrian : Vehicle
A pedestrian.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public init(maxSpeed: Measurement<UnitSpeed>? = defaultMaxSpeed, numberOfAxles: Int? = nil)Parameters
maxSpeedSpecifies the max speed fot the pedestrian.
numberOfAxlesSpecifies the number of vehicle axles.
-
Specifies pedestrian default max speed.
Declaration
Swift
public static let defaultMaxSpeed: Measurement<UnitSpeed> -
Specifies the number of vehicle axles.
Declaration
Swift
public let numberOfAxles: Int? -
Specifies the max speed of the vehicle.
Declaration
Swift
public let maxSpeed: Measurement<UnitSpeed>? -
Specifies the vehicle type for the specified route.
Declaration
Swift
public let type: VehicleType
Pedestrian Structure Reference