/** * Gets the contour values. * @return array of contour values. */ public float[] getContours() { updateContourSampling(); float[] values = new float[_cs.getCount()]; for (int n=0; n<values.length; n++) values[n] = _cl.get(n).fc; return values; }
public void paint(Graphics2D g2d) { updateContourSampling(); updateContours();