Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Interpolation"/> class with the specified <see cref="InterpolationParameter"/> objects.
 /// </summary>
 /// <param name="first">The instance of the <see cref="InterpolationParameter"/> class for <see cref="First"/> property of this interpolation.</param>
 /// <param name="second">The instance of the <see cref="InterpolationParameter"/> class for <see cref="Second"/> property of this interpolation.</param>
 public Interpolation(InterpolationParameter first, InterpolationParameter second)
 {
     First  = first;
     Second = second;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Interpolation"/> class that defined as linear interpolation.
 /// </summary>
 public Interpolation()
 {
     First  = new InterpolationParameter(20, 20);
     Second = new InterpolationParameter(107, 107);
 }