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