Class stl_Spline

java.lang.Object
com.jackmeng.stl.stl_Spline

public class stl_Spline
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    private int n  
    private java.util.List<java.lang.Double> x  
    private java.util.List<java.lang.Double> y  
    private double[] z  
  • Constructor Summary

    Constructors
    Constructor Description
    stl_Spline​(java.util.List<java.lang.Double> x, java.util.List<java.lang.Double> y)  
  • Method Summary

    Modifier and Type Method Description
    double interpolate​(double t)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      private final java.util.List<java.lang.Double> x
    • y

      private final java.util.List<java.lang.Double> y
    • n

      private final int n
    • z

      private final double[] z
  • Constructor Details

    • stl_Spline

      public stl_Spline​(java.util.List<java.lang.Double> x, java.util.List<java.lang.Double> y)
  • Method Details

    • interpolate

      public double interpolate​(double t)