Package org.orekit.gnss
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 double
ONE_MILLI_HERTZ
Default 1MHz tolerance forcloseTo(RadioWave)
.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
closeTo(RadioWave other)
Check if two radio waves are closer thanONE_MILLI_HERTZ
.default boolean
closeTo(RadioWave other, double tolerance)
Check if two radio waves are closer than tolerance.double
getFrequency()
Get the value of the frequency in Hz.default double
getWavelength()
Get the wavelength in meters.
-
-
-
Field Detail
-
ONE_MILLI_HERTZ
static final double ONE_MILLI_HERTZ
Default 1MHz tolerance forcloseTo(RadioWave)
.- Since:
- 13.0
- See Also:
- Constant Field Values
-
-
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)
Check if two radio waves are closer thanONE_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(RadioWave, double)
-
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 instancetolerance
- frequency tolerance in Hz- Returns:
- true if radio waves are closer than tolerance
- Since:
- 13.0
- See Also:
ONE_MILLI_HERTZ
,closeTo(RadioWave)
-
-