UtilsComputeAvgSpeed Method
Computes the average speed.
Namespace: SmallEarthTech.AntPlusAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
public static double ComputeAvgSpeed(
double wheelCircumference,
int deltaEventCount,
int deltaPeriod
)
Public Shared Function ComputeAvgSpeed (
wheelCircumference As Double,
deltaEventCount As Integer,
deltaPeriod As Integer
) As Double
public:
static double ComputeAvgSpeed(
double wheelCircumference,
int deltaEventCount,
int deltaPeriod
)
static member ComputeAvgSpeed :
wheelCircumference : float *
deltaEventCount : int *
deltaPeriod : int -> float
- wheelCircumference Double
- The wheel circumference in meters.
- deltaEventCount Int32
- The delta event count.
- deltaPeriod Int32
- The delta period.
DoubleThe average speed in kilometers per hour.