PyANGKernel.GKVehiclePollutantRate

class GKVehiclePollutantRate

Pollution rate (in g/s) based on the vehicle speed. * * The pollution rate is defined by a tuple of speed and rate.

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
getRate()
Return type:

float

returns the rate

getSpeed()
Return type:

float

returns the speed

setRate(arg__1)
Parameters:

arg__1 – float

sets the rate

setSpeed(avalue)
Parameters:

avalue – float

sets the speed