Class NaturalCubicSpline1D
java.lang.Object
com.levigo.jadice.web.shared.model.settings.gradation.ControlCurve
com.levigo.jadice.web.shared.model.settings.gradation.NaturalCubicSpline1D
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GradationCurve
- See Also:
-
Field Summary
Fields inherited from class com.levigo.jadice.web.shared.model.settings.gradation.ControlCurve
curveChanged, points -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetCurve()doublegetValueAt(double xp) Get the y-value at a given x locationMethods inherited from class com.levigo.jadice.web.shared.model.settings.gradation.ControlCurve
addControlPoint, getControlPoint, getControlPoints, getPointCount, insertControlPoint, removeControlPoint, setControlPoint
-
Constructor Details
-
NaturalCubicSpline1D
public NaturalCubicSpline1D()
-
-
Method Details
-
computeCurve
protected void computeCurve() -
getCurve
- Specified by:
getCurvein classControlCurve- See Also:
-
getValueAt
public double getValueAt(double xp) Get the y-value at a given x location- Parameters:
xp- The x coordinate.- Returns:
- The y coordinate.
-