Package org.orekit.utils
Class ElevationMask
java.lang.Object
org.orekit.utils.ElevationMask
- All Implemented Interfaces:
Serializable
Class for modeling the ground elevation values around a given point.
Instances of this class can be considered to be immutable
- Since:
- 6.1
- Author:
- Hank Grabowski
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionElevationMask(double[][] mask) Creates an instance of an Elevation mask based on the passed in parameter. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetElevation(double azimuth) Get the interpolated elevation for a given azimuth according to the mask.
-
Constructor Details
-
ElevationMask
public ElevationMask(double[][] mask) Creates an instance of an Elevation mask based on the passed in parameter.- Parameters:
mask- azimuth-elevation mask (rad). First column (i.e. mask[i][0]) should contain azimuth values and the second column (i.e. mask[i][1]) should contain corresponding elevations
-
-
Method Details
-
getElevation
public double getElevation(double azimuth) Get the interpolated elevation for a given azimuth according to the mask.- Parameters:
azimuth- azimuth (rad)- Returns:
- elevation angle (rad)
-