-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBinned2DData.java
More file actions
63 lines (52 loc) · 1.05 KB
/
Copy pathBinned2DData.java
File metadata and controls
63 lines (52 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//package org.freehep.j3d.plot;
import javax.vecmath.Color3b;
/**
* A data source for binned 2D data which is used by the both the lego
* and the surface plot. Any class which implements this interface can
* be used to provide Data for a lego or surface plot.
* @author Joy Kyriakopulos (joyk@fnal.gov)
* @version $Id: Binned2DData.java 8584 2006-08-10 23:06:37Z duns $
*/
public interface Binned2DData
{
/**
* Number of bins on the X axis
*/
int xBins();
/**
* Number of bins on the Y axis
*/
int yBins();
/**
* Axis minimum on the X Axis
*/
float xMin();
/**
* Axis maximum on the X Axis
*/
float xMax();
/**
* Axis minimum on the Y Axis
*/
float yMin();
/**
* Axis maximum on the Y Axis
*/
float yMax();
/**
* Get Z value at the specified bin
*/
float zAt(int xIndex, int yIndex);
/**
* Get the Color at the specified bin
*/
Color3b colorAt(int xIndex, int yIndex);
/**
* Minimum data value on the Z Axis
*/
float zMin();
/**
* Maximum data value on the Z Axis
*/
float zMax();
}