All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.math.plot.plots.LayerPlot Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
/*
 * Created on 5 juil. 07 by richet
 */
package org.math.plot.plots;

import org.math.plot.DataPanel;
import org.math.plot.canvas.PlotCanvas;
import org.math.plot.render.*;

public abstract class LayerPlot extends Plot {

	Plot plot;

	public LayerPlot(String name, Plot p) {
		super(name, p.color);
		plot = p;
	}

	public double[] isSelected(int[] screenCoordTest, AbstractDrawer draw) {
		return null;
	}

    @Override
    public double[][] getBounds() {
        return plot.getBounds();
    }

    @Override
    public DataPanel getDataPanel(PlotCanvas plotCanvas) {
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy