public class TLcdHypsometricNormalizedNormalProvider extends Object implements ILcdHypsometricNormalProvider
Constructor and Description |
---|
TLcdHypsometricNormalizedNormalProvider(ILcdHypsometricNormalProvider aHypsometricNormalProvider)
Creates a new TLcdHypsometricNormalizedNormalProvider that will delegate
the actual normal computations to the given normal provider.
|
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.
|
ILcdHypsometricNormalProvider |
getHypsometricNormalProvider()
Returns the normal provider that actually computes the normals.
|
public TLcdHypsometricNormalizedNormalProvider(ILcdHypsometricNormalProvider aHypsometricNormalProvider)
aHypsometricNormalProvider
- the normal provider to delegate to.public ILcdHypsometricNormalProvider getHypsometricNormalProvider()
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.