public class TLcdHypsometricNormalProvider extends Object implements ILcdHypsometricNormalProvider
Constructor and Description |
---|
TLcdHypsometricNormalProvider()
Creates a new TLcdHypsometricNormalProvider with a 3x3 foot print.
|
TLcdHypsometricNormalProvider(Rectangle aFootPrint)
Creates a new TLcdHypsometricNormalProvider with the given foot print.
|
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 foot print of this provider.
|
public TLcdHypsometricNormalProvider()
public TLcdHypsometricNormalProvider(Rectangle aFootPrint)
aFootPrint
- the foot print for the computations.public Rectangle getFootPrint()
ILcdHypsometricNormalProvider
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.