NSDK_LorryOptions

@interface NSDK_LorryOptions : NSObject

Options for calculation of routes which respect lorry specific route restrictions.

@author PTV AG Karlsruhe

  • Returns the vehicle weight in 100 kg units (max 409.6 t).

    Declaration

    Objective-C

    - (short)getWeight;

    Swift

    func getWeight() -> Int16

    Return Value

    the vehicle weight in 100 kg units.

  • Sets the vehicle weight in 100 kg units (max 409.6 t).

    Declaration

    Objective-C

    - (void)setWeight:(short)weight;

    Swift

    func setWeight(_ weight: Int16)

    Parameters

    weight

    vehicle the weight in 100 kg units.

  • Returns the length in 10 cm units (max 1638.4m).

    Declaration

    Objective-C

    - (short)getLength;

    Swift

    func getLength() -> Int16

    Return Value

    the vehicle length in 10 cm units.

  • Sets the length in 10 cm units (max. 1638.4m).

    Declaration

    Objective-C

    - (void)setLength:(short)length;

    Swift

    func setLength(_ length: Int16)

    Parameters

    length

    the vehicle length in 10 cm units.

  • Returns the vehicle height in 10 cm units (max 25.6 m).

    Declaration

    Objective-C

    - (short)getHeight;

    Swift

    func getHeight() -> Int16

    Return Value

    the vehicle height in 10 cm units.

  • Sets the vehicle height in 10 cm units (max 25.6 m).

    Declaration

    Objective-C

    - (void)setHeight:(short)height;

    Swift

    func setHeight(_ height: Int16)

    Parameters

    height

    the vehicle height to set in 10 cm units.

  • Returns the vehicle width in 10 cm units (max 25.6 m).

    Declaration

    Objective-C

    - (short)getWidth;

    Swift

    func getWidth() -> Int16

    Return Value

    the vehicle width in 10 cm units.

  • Sets the vehicle width in 10 cm units(max 25.6 m).

    Declaration

    Objective-C

    - (void)setWidth:(short)width;

    Swift

    func setWidth(_ width: Int16)

    Parameters

    width

    the vehicle width to set in 10 cm units.

  • Returns the vehicle axle weight in 100 kg units (max 25.6 t).

    Declaration

    Objective-C

    - (short)getAxleWeight;

    Swift

    func getAxleWeight() -> Int16

    Return Value

    the vehicle axle weight in 100 kg units.

  • Sets the vehicle axle weight in 100 kg units (max 25.6 t).

    Declaration

    Objective-C

    - (void)setAxleWeight:(short)axleWeight;

    Swift

    func setAxleWeight(_ axleWeight: Int16)

    Parameters

    axleWeight

    the vehicle axle weight to set in 100 kg units.

  • Declaration

    Objective-C

    - (BOOL)getTrailers;

    Swift

    func getTrailers() -> Bool

    Return Value

    whether streets which are forbidden for trailers should be avoided during route calculation.

  • Sets whether streets which are forbidden for trailers should be avoided during route calculation.

    Declaration

    Objective-C

    - (void)setTrailers:(BOOL)trailers;

    Swift

    func setTrailers(_ trailers: Bool)

    Parameters

    trailers

    true if streets forbidden for trailers should be avoided.

  • Declaration

    Objective-C

    - (BOOL)getExplosiveGoods;

    Swift

    func getExplosiveGoods() -> Bool

    Return Value

    whether streets which are forbidden for explosive goods should be avoided during route calculation.

  • Sets whether streets which are forbidden for explosive goods should be avoided during route calculation.

    Declaration

    Objective-C

    - (void)setExplosiveGoods:(BOOL)explosiveGoods;

    Swift

    func setExplosiveGoods(_ explosiveGoods: Bool)

    Parameters

    explosiveGoods

    True if streets forbidden for explosive goods should be avoided.

  • Declaration

    Objective-C

    - (BOOL)getH2O;

    Swift

    func getH2O() -> Bool

    Return Value

    whether streets which are forbidden for water polluting goods should be avoided during route calculation.

  • Sets whether streets which are forbidden for water polluting goods should be avoided during route calculation.

    Declaration

    Objective-C

    - (void)setH2O:(BOOL)h2O;

    Swift

    func setH2O(_ h2O: Bool)

    Parameters

    h2O

    True if streets forbidden for water polluting goods should be avoided.

  • Declaration

    Objective-C

    - (BOOL)getDanger;

    Swift

    func getDanger() -> Bool

    Return Value

    whether streets which are forbidden for hazardous goods should be avoided during route calculation.

  • Sets whether streets which are forbidden for hazardous goods should be avoided during route calculation.

    Declaration

    Objective-C

    - (void)setDanger:(BOOL)danger;

    Swift

    func setDanger(_ danger: Bool)

    Parameters

    danger

    True if streets forbidden for hazardous polluting goods should be avoided.