Interface RadioWave

  • All Known Subinterfaces:
    GnssSignal
    All Known Implementing Classes:
    PredefinedGnssSignal

    public interface RadioWave
    Top level interface for radio waves.
    Since:
    12.1
    Author:
    Luc Maisonobe
    • Method Detail

      • getFrequency

        double getFrequency()
        Get the value of the frequency in Hz.
        Returns:
        value of the frequency in Hz
        See Also:
        getWavelength()
      • getWavelength

        default double getWavelength()
        Get the wavelength in meters.
        Returns:
        wavelength in meters
        See Also:
        getFrequency()
      • closeTo

        default boolean closeTo​(RadioWave other,
                                double tolerance)
        Check if two radio waves are closer than tolerance.
        Parameters:
        other - other radio wave to check against instance
        tolerance - frequency tolerance in Hz
        Returns:
        true if radio waves are closer than tolerance
        Since:
        13.0
        See Also:
        ONE_MILLI_HERTZ, closeTo(RadioWave)