Пример #1
0
 public TimedInterpolator(double in_numSeconds, double in_startValue, double in_endValue, Repeate in_repeateType, InterpolationType in_interpolationType)
     : this()
 {
     numSeconds        = in_numSeconds;
     startValue        = in_startValue;
     endValue          = in_endValue;
     distance          = endValue - startValue;
     repeateType       = in_repeateType;
     interpolationType = in_interpolationType;
 }
Пример #2
0
 public TimedInterpolator(double in_numSeconds, double in_startValue, double in_endValue, Repeate in_repeateType, InterpolationType in_interpolationType)
     : this()
 {
     numSeconds = in_numSeconds;
     startValue = in_startValue;
     endValue = in_endValue;
     distance = endValue - startValue;
     repeateType = in_repeateType;
     interpolationType = in_interpolationType;
 }
Пример #3
0
 public TimedInterpolator(double in_numSeconds, double in_startValue, double in_endValue, Repeate in_repeateType, InterpolationType in_interpolationType)
 {
     if (!runningTimeStarted)
     {
         runningTime.Start();
     }
     numSeconds        = in_numSeconds;
     startValue        = in_startValue;
     endValue          = in_endValue;
     distance          = endValue - startValue;
     repeateType       = in_repeateType;
     interpolationType = in_interpolationType;
 }
Пример #4
0
 public TimedInterpolator(double in_numSeconds, double in_startValue, double in_endValue, Repeate in_repeateType, InterpolationType in_interpolationType)
 {
     if (!runningTimeStarted)
     {
         runningTime.Start();
     }
     numSeconds = in_numSeconds;
     startValue = in_startValue;
     endValue = in_endValue;
     distance = endValue - startValue;
     repeateType = in_repeateType;
     interpolationType = in_interpolationType;
 }