public abstract class FunctionCurve extends Curve
A Function Curve is the abstract superclass of any curves that represent
a mathematical function. This is basically anything that isn't a DataCurve
.
The primary difference between a Function curve and a Data curve is that the former is sampled at many different positions on the curve to obtain an approximation of the curve, while a DataCurve is sampled only where a data entry exists
Constructor and Description 

FunctionCurve() 
Modifier and Type  Method and Description 

double 
getMax()
Return the maximum value that is defined for this curve.

double 
getMin()
Return the minimum value that is defined for this curve.

boolean 
point(double x)
If a marker is to be placed at this point on the curve then return
true, otherwise return false.

double[] 
steps()
Return the points on the curve that it should be sampled at to get an
accurate picture of it.

public boolean point(double x)
Curve
FunctionCurve
will return
false, but curves that have been fitted to a DataCurve
may
return any points from that DataCurve
that are matched
exactly by the fitted curve.public double[] steps()
Curve
FunctionCurve
may return
an empty list if they wish, or if there are certain points that the
curve must be sampled at, it can return them here.public double getMin()
Curve
Double.POSITIVE_INFINITY
(yes, positive)Copyright © 20012017 Big Faceless Organization