public interface ILcdPolarMatrixView extends ILcdMatrixView
ILcdPolarMatrixView
is an ILcdMatrixView
which represents a polar 2D
data structure where the values and associated points can be accessed through an azimuth and
a radius.
Each matrix column corresponds to a fixed azimuth (defined in degrees) and each row to a
fixed distance (defined in meters) from the center point. Therefore a polar matrix view
contains a method to convert an azimuth/radius to the column/row index corresponding to
the azimuth/radius.Modifier and Type | Method and Description |
---|---|
double |
getAzimuth(int aColumnIndex)
Returns the azimuth corresponding to the given
aColumnIndex . |
int |
getColumn(double aAzimuth)
Returns the column index corresponding to the given
aAzimuth . |
double |
getRadius(int aRowIndex)
Returns the radius corresponding to the given
aRowIndex . |
int |
getRow(double aRadius)
Returns the row index corresponding to the given
aRadius . |
double |
getValue(double aAzimuth,
double aRadius)
Returns the value of the matrix pixel corresponding to the azimuth
aAzimuth
and the radius aRadius . |
double |
retrieveAssociatedPointX(double aAzimuth,
double aRadius)
Returns the x-coordinate of the associated point corresponding to the azimuth
aAzimuth
and the radius aRadius . |
double |
retrieveAssociatedPointY(double aAzimuth,
double aRadius)
Returns the y-coordinate of the associated point corresponding to the azimuth
aAzimuth
and the radius aRadius . |
getColumnCount, getRowCount, getValue, retrieveAssociatedPointX, retrieveAssociatedPointY
double getValue(double aAzimuth, double aRadius)
aAzimuth
and the radius aRadius
. If the given azimuth/radius does not correspond to
a fixed azimuth/radius used by this instance, a surrounding fixed azimuth/radius can be
used to retrieve the value of the matrix pixel.
This method can use the methods getColumn(double)
and getRow(double)
to
convert the double
indices to integer indices. The value of the matrix pixel
can then be retrieved using the method ILcdMatrixView.getValue(int, int)
.aAzimuth
- the azimuth, defined in degrees.aRadius
- the radius, defined in meters.double retrieveAssociatedPointX(double aAzimuth, double aRadius)
aAzimuth
and the radius aRadius
. If the given azimuth/radius does not correspond to a fixed
azimuth/radius used by this instance, a surrounding fixed azimuth/radius can be used to retrieve
the x-coordinate. The definition of an associated point can be found in the class documentation of
ILcdMatrixView
.
This method can use the methods getColumn(double)
and getRow(double)
to
convert the double
indices to integer indices. The x-coordinate of the matrix
pixel can then be retrieved using the method ILcdMatrixView.retrieveAssociatedPointX(int, int)
.aAzimuth
- the azimuth, defined in degrees.aRadius
- the radius, defined in meters.double retrieveAssociatedPointY(double aAzimuth, double aRadius)
aAzimuth
and the radius aRadius
. If the given azimuth/radius does not correspond to a fixed
azimuth/radius used by this instance, a surrounding fixed azimuth/radius can be used to retrieve
the y-coordinate. The definition of an associated point can be found in the class documentation of
ILcdMatrixView
.
This method can use the methods getColumn(double)
and getRow(double)
to
convert the double
indices to integer indices. The y-coordinate of the matrix
pixel can then be retrieved using the method ILcdMatrixView.retrieveAssociatedPointY(int, int)
.aAzimuth
- the azimuth, defined in degrees.aRadius
- the radius, defined in meters.int getColumn(double aAzimuth)
aAzimuth
. If the given azimuth
does not correspond to a fixed azimuth used by this instance, a surrounding fixed azimuth can be
used.aAzimuth
- the azimuth, defined in degrees.int getRow(double aRadius)
aRadius
. If the given radius does
not correspond to a fixed radius used by this instance, a surrounding fixed radius can be used.aRadius
- the radius, defined in meters.double getAzimuth(int aColumnIndex)
aColumnIndex
. Each matrix column
corresponds to a fixed azimuth (defined in degrees)aColumnIndex
- the column index.double getRadius(int aRowIndex)
aRowIndex
. Each matrix row
corresponds to a fixed distance (defined in meters) from the center point.aRowIndex
- the row index.