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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
    Default 1MHz tolerance for closeTo(RadioWave).
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Check if two radio waves are closer than ONE_MILLI_HERTZ.
    default boolean
    closeTo(RadioWave other, double tolerance)
    Check if two radio waves are closer than tolerance.
    double
    Get the value of the frequency in Hz.
    default double
    Get the wavelength in meters.
  • Field Details

  • Method Details

    • getFrequency

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

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

      default boolean closeTo(RadioWave other)
      Check if two radio waves are closer than ONE_MILLI_HERTZ.
      Parameters:
      other - other radio wave to check against instance
      Returns:
      true if radio waves are closer than ONE_MILLI_HERTZ
      Since:
      13.0
      See Also:
    • 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: