Class Spline.ControlVector

Enclosing class:

public static class Spline.ControlVector
extends Object
Represents a control vector for a spline.

Each element in each array represents the value of the derivative at the index. For example, the value of x[2] is the second derivative in the x dimension.

  • Field Details

    • x

      public double[] x
    • y

      public double[] y
  • Constructor Details

    • ControlVector

      public ControlVector​(double[] x, double[] y)
      Instantiates a control vector.
      x - The x dimension of the control vector.
      y - The y dimension of the control vector.