List of usage examples for org.jfree.data.function LineFunction2D getIntercept
public double getIntercept()
From source file:org.jfree.data.function.LineFunction2DTest.java
/** * Some tests for the constructor./* w w w . j ava2 s . c o m*/ */ @Test public void testConstructor() { LineFunction2D f = new LineFunction2D(1.0, 2.0); assertEquals(1.0, f.getIntercept(), EPSILON); assertEquals(2.0, f.getSlope(), EPSILON); }