public interface ILcdMatrixView
ILcdMatrixView
represents a regular 2D data structure where values can be accessed
through rows and columns. Every entry in this structure can have a point associated with it. Note that
the distribution of the points does not need to be regular. It is possible to retrieve the coordinates
of the point associated with an entry using the methods retrieveAssociatedPointX(int, int)
and
retrieveAssociatedPointY(int, int)
.Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the number of columns in this matrix view.
|
int |
getRowCount()
Returns the number of rows in this matrix view.
|
double |
getValue(int aColumnIndex,
int aRowIndex)
Returns the value of the matrix pixel corresponding to the column index
aColumnIndex and the row index aRowIndex . |
double |
retrieveAssociatedPointX(int aColumnIndex,
int aRowIndex)
Returns the x-coordinate of the associated point corresponding to the column
index
aColumnIndex and the row index aRowIndex . |
double |
retrieveAssociatedPointY(int aColumnIndex,
int aRowIndex)
Returns the y-coordinate of the associated point corresponding to the column
index
aColumnIndex and the row index aRowIndex . |
double getValue(int aColumnIndex, int aRowIndex)
aColumnIndex
and the row index aRowIndex
.aColumnIndex
- the column index, positive and smaller than the columncount.aRowIndex
- the row index, positive and smaller than the rowcount.double retrieveAssociatedPointX(int aColumnIndex, int aRowIndex)
aColumnIndex
and the row index aRowIndex
.aColumnIndex
- the column index, positive and smaller than the columncount.aRowIndex
- the row index, positive and smaller than the rowcount.double retrieveAssociatedPointY(int aColumnIndex, int aRowIndex)
aColumnIndex
and the row index aRowIndex
.aColumnIndex
- the column index, positive and smaller than the columncount.aRowIndex
- the row index, positive and smaller than the rowcount.int getColumnCount()
int getRowCount()