public interface Cell2DDataset
It represents values distributed on a 2D grid and their statistical information.
Modifier and Type | Method and Description |
---|---|
Range |
getDisplayRange()
Returns the suggested range to display the values.
|
Statistics |
getStatistics()
Returns the statistics of all values at all cells.
|
double |
getValue(int x,
int y)
Returns the value at the given coordinates.
|
ListNumber |
getXBoundaries()
Returns the boundaries of the cells along x.
|
int |
getXCount()
The number of cells defined along the x direction.
|
Range |
getXRange()
The range along x.
|
ListNumber |
getYBoundaries()
Returns the boundaries of the cells along y.
|
int |
getYCount()
The number of cells defined along the y direction.
|
Range |
getYRange()
The range along y.
|
double getValue(int x, int y)
x
- the x coordinatey
- the y coordinateArrayIndexOutOfBoundsException
- if any coordinate is $lt; 0 or >= its countStatistics getStatistics()
If the the grid has zero cells, or if all values are NaN, it returns null.
Range getDisplayRange()
ListNumber getXBoundaries()
The number of elements matches getXCount()
+ 1. If
no cells are defined, it will return null. The boundaries are
ordered from the smallest to the greatest.
Range getXRange()
Effectively the first and last elements of getXBoundaries()
.
If no cells are defined, it will return null.
int getXCount()
ListNumber getYBoundaries()
The number of elements matches getYCount()
+ 1. If
no cells are defined, it will return null. The boundaries are
ordered from the smallest to the greatest.
Range getYRange()
Effectively the first and last elements of getYBoundaries()
.
If no cells are defined, it will return null.
int getYCount()
Copyright © 2015. All rights reserved.