Package com.luciad.tea
Interface ILcdReferencedMatrixView
- All Superinterfaces:
ILcdMatrixView
- All Known Subinterfaces:
ILcdAltitudeMatrixView
,ILcdEditableReferencedMatrixView
,ILcdEditableVisibilityMatrixView
,ILcdVisibilityMatrixView
Adds a reference to the matrix view interface. This reference defines how the associated
point coordinates should be interpreted.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the reference in which the associated point coordinates are defined.double
retrieveAssociatedPointX
(int aColumnIndex, int aRowIndex) Returns the x-coordinate of the associated point corresponding to the column indexaColumnIndex
and the row indexaRowIndex
.double
retrieveAssociatedPointY
(int aColumnIndex, int aRowIndex) Returns the y-coordinate of the associated point corresponding to the column indexaColumnIndex
and the row indexaRowIndex
.Methods inherited from interface com.luciad.shape.ILcdMatrixView
getColumnCount, getRowCount, getValue
-
Method Details
-
getReference
ILcdGeoReference getReference()Returns the reference in which the associated point coordinates are defined.- Returns:
- the reference in which the associated point coordinates are defined.
-
retrieveAssociatedPointX
double retrieveAssociatedPointX(int aColumnIndex, int aRowIndex) Returns the x-coordinate of the associated point corresponding to the column indexaColumnIndex
and the row indexaRowIndex
.The coordinate should be defined in the reference of this matrix view. This reference can be found using the method (
getReference()
).- Specified by:
retrieveAssociatedPointX
in interfaceILcdMatrixView
- Parameters:
aColumnIndex
- the column index, positive and smaller than the columncount.aRowIndex
- the row index, positive and smaller than the rowcount.- Returns:
- the x-coordinate of the associated point.
-
retrieveAssociatedPointY
double retrieveAssociatedPointY(int aColumnIndex, int aRowIndex) Returns the y-coordinate of the associated point corresponding to the column indexaColumnIndex
and the row indexaRowIndex
.The coordinate should be defined in the reference of this matrix view. This reference can be found using the method (
getReference()
).- Specified by:
retrieveAssociatedPointY
in interfaceILcdMatrixView
- Parameters:
aColumnIndex
- the column index, positive and smaller than the columncount.aRowIndex
- the row index, positive and smaller than the rowcount.- Returns:
- the y-coordinate of the associated point.
-