/* JWildfire - an image and animation processor written in Java Copyright (C) 1995-2016 Andreas Maschke This is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this software; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ package org.jwildfire.create.tina.variation.plot; public class YPlot2DWFFuncPreset extends WFFuncPreset { private final String formula; private final double xmin, xmax; private final double param_a, param_b, param_c, param_d, param_e, param_f; public YPlot2DWFFuncPreset(int id, String formula, double xmin, double xmax, double param_a, double param_b, double param_c, double param_d, double param_e, double param_f) { super(id); this.formula = formula; this.xmin = xmin; this.xmax = xmax; this.param_a = param_a; this.param_b = param_b; this.param_c = param_c; this.param_d = param_d; this.param_e = param_e; this.param_f = param_f; } public String getFormula() { return formula; } public double getXmin() { return xmin; } public double getXmax() { return xmax; } public double getParam_a() { return param_a; } public double getParam_b() { return param_b; } public double getParam_c() { return param_c; } public double getParam_d() { return param_d; } public double getParam_e() { return param_e; } public double getParam_f() { return param_f; } }