Package org.orekit.gnss
Enum Class SatelliteSystem
- All Implemented Interfaces:
Serializable,Comparable<SatelliteSystem>,Constable
Enumerate for satellite system.
- Since:
- 9.2
- Author:
- Luc Maisonobe
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBeidou system.Galileo system.GLONASS system.GPS system.Mixed system.Navigation with Indian Constellation (NavIC).Quasi-Zenith Satellite System system.SBAS system.User-defined system A.User-defined system B.User-defined system D.User-defined system F.User-defined system H.User-defined system K.User-defined system L.User-defined system N.User-defined system O.User-defined system P.User-defined system Q.User-defined system T.User-defined system U.User-defined system V.User-defined system W.User-defined system X.User-defined system Y.User-defined system Z. -
Method Summary
Modifier and TypeMethodDescriptionchargetKey()Get the key for the system.Get observation time scale for satellite system.static SatelliteSystemParse a string to get the satellite system.static SatelliteSystemparseSatelliteSystem(String s, SatelliteSystem defaultSatelliteSystem) Parse a string to get the satellite system.static SatelliteSystemReturns the enum constant of this class with the specified name.static SatelliteSystem[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER_DEFINED_A
User-defined system A.- Since:
- 12.0
-
USER_DEFINED_B
User-defined system B.- Since:
- 12.0
-
BEIDOU
Beidou system. -
USER_DEFINED_D
User-defined system D.- Since:
- 12.0
-
GALILEO
Galileo system. -
USER_DEFINED_F
User-defined system F.- Since:
- 12.0
-
GPS
GPS system. -
USER_DEFINED_H
User-defined system H.- Since:
- 12.0
-
NAVIC
Navigation with Indian Constellation (NavIC).This system was known as Indian Regional Navigation Satellite System (IRNSS).
- Since:
- 13.0
-
QZSS
Quasi-Zenith Satellite System system. -
USER_DEFINED_K
User-defined system K.- Since:
- 12.0
-
USER_DEFINED_L
User-defined system L.- Since:
- 12.0
-
MIXED
Mixed system. -
USER_DEFINED_N
User-defined system N.- Since:
- 12.0
-
USER_DEFINED_O
User-defined system O.- Since:
- 12.0
-
USER_DEFINED_P
User-defined system P.- Since:
- 12.0
-
USER_DEFINED_Q
User-defined system Q.- Since:
- 12.0
-
GLONASS
GLONASS system. -
SBAS
SBAS system. -
USER_DEFINED_T
User-defined system T.- Since:
- 12.0
-
USER_DEFINED_U
User-defined system U.- Since:
- 12.0
-
USER_DEFINED_V
User-defined system V.- Since:
- 12.0
-
USER_DEFINED_W
User-defined system W.- Since:
- 12.0
-
USER_DEFINED_X
User-defined system X.- Since:
- 12.0
-
USER_DEFINED_Y
User-defined system Y.- Since:
- 12.0
-
USER_DEFINED_Z
User-defined system Z.- Since:
- 12.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getKey
public char getKey()Get the key for the system.- Returns:
- key for the system
-
parseSatelliteSystem
Parse a string to get the satellite system.The string first character must be the satellite system.
- Parameters:
s- string to parse- Returns:
- the satellite system
- Throws:
OrekitIllegalArgumentException- if the string does not correspond to a satellite system key
-
parseSatelliteSystem
public static SatelliteSystem parseSatelliteSystem(String s, SatelliteSystem defaultSatelliteSystem) Parse a string to get the satellite system.The string first character must be the satellite system, or empty to get GPS as default
- Parameters:
s- string to parsedefaultSatelliteSystem- satellite system to use if string is null or empty- Returns:
- the satellite system
- Since:
- 14.0
-
getObservationTimeScale
Get observation time scale for satellite system.- Returns:
- observation time scale, null if there are not
- Since:
- 12.0
-