public Interpolator(Interpolator other) { X = other.X; Y = other.Y; Y2 = other.Y2; Size = other.Size; }
public Interpolator2D(Interpolator2D other) { X = other.X; Size = other.Size; Y = new Interpolator[Size]; for (int i = 0; i < Size; i++) { Y[i] = new Interpolator(other.Y[i]); } }