Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.data.function.LineFunction2D
Constructor Summary | |
|
Method Summary | |
double |
|
public LineFunction2D(double a, double b)
Constructs a new line function.
- Parameters:
a
- the intercept.b
- the slope.
public double getValue(double x)
Returns the function value.
- Specified by:
- getValue in interface Function2D
- Parameters:
x
- the x-value.
- Returns:
- The value.