public double GetRotationalCoeffecient(double speed)
{
//Declaration
int upperIndex;
int lowerIndex;
FindLowerUpperInPattern(out lowerIndex, out upperIndex, _speedPatternRotational, speed);
return Interpolate(speed,
_speedPatternRotational[lowerIndex],
_speedPatternRotational[upperIndex],
_speedCurveRotational[lowerIndex],
_speedCurveRotational[upperIndex]);
}
#endregion