Class Trajectory.Boundary

    • Field Detail

      • index

        public final int index
        Rounded-down index.
      • fraction

        public final double fraction
        Fraction.
    • Constructor Detail

      • Boundary

        Boundary​(int index,
                 double fraction)
        Parameters:
        index - int; rounded down index
        fraction - double; fraction
    • Method Detail

      • getValue

        public double getValue​(float[] array)
        Returns the value at the boundary in the array.
        Parameters:
        array - float[]; float[] array
        Returns:
        double; value at the boundary in the array