public class TLcdHypsometric2x2NormalProvider extends Object implements ILcdHypsometricNormalProvider
Constructor and Description |
---|
TLcdHypsometric2x2NormalProvider() |
Modifier and Type | Method and Description |
---|---|
void |
computeNormal(ILcdMatrixView aMatrixView,
int aX,
int aY,
double aElevationScale,
double[] aNormalSFCT)
Computes the normal at the given point.
|
Rectangle |
getFootPrint()
Returns the rectangle (0, 0, 2, 2).
|
public Rectangle getFootPrint()
getFootPrint
in interface ILcdHypsometricNormalProvider
public void computeNormal(ILcdMatrixView aMatrixView, int aX, int aY, double aElevationScale, double[] aNormalSFCT)
ILcdHypsometricNormalProvider
computeNormal
in interface ILcdHypsometricNormalProvider
aMatrixView
- the matrix containing elevation values.aX
- the x ordinate in the matrix.aY
- the y ordinate in the matrix.aElevationScale
- the scale of the elevation values in the tiles,
expressed in matrix distance units per tile
elevation unit.aNormalSFCT
- an array of 3 doubles to store the computed normal.