Class Spline.ControlVector

java.lang.Object
edu.wpi.first.math.spline.Spline.ControlVector
Enclosing class:
Spline

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
      The x components of the control vector.
    • y

      public double[] y
      The y components of the control vector.
  • Constructor Details

    • ControlVector

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