Class ElevationMask

  • All Implemented Interfaces:
    Serializable

    public class ElevationMask
    extends Object
    implements 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:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • 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)