Package gaiasky.scene.record
Class HeightDataArray
java.lang.Object
gaiasky.scene.record.HeightDataArray
- All Implemented Interfaces:
IHeightData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetNormalizedHeight(double u, double v) Gets the height normalized in [0,1] for the given UV coordinates.
-
Constructor Details
-
HeightDataArray
-
-
Method Details
-
getNormalizedHeight
public double getNormalizedHeight(double u, double v) Description copied from interface:IHeightDataGets the height normalized in [0,1] for the given UV coordinates.- Specified by:
getNormalizedHeightin interfaceIHeightData- Parameters:
u- The U coordinate.v- The V coordinate.- Returns:
- The height value in [0,1].
-