Package gaiasky.scene.record
Interface IHeightData
- All Known Implementing Classes:
HeightDataArray,HeightDataPixmap,HeightDataSVT
public interface IHeightData
Interface to be implemented by any kind of height data.
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetNormalizedHeight(double u, double v) Gets the height normalized in [0,1] for the given UV coordinates.
-
Method Details
-
getNormalizedHeight
double getNormalizedHeight(double u, double v) Gets the height normalized in [0,1] for the given UV coordinates.- Parameters:
u- The U coordinate.v- The V coordinate.- Returns:
- The height value in [0,1].
-