Package org.orekit.files.sp3
Class SP3Utils
- java.lang.Object
-
- org.orekit.files.sp3.SP3Utils
-
public class SP3Utils extends Object
Constants for SP3 files.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Field Summary
Fields Modifier and Type Field Description static Unit
CLOCK_ACCURACY_UNIT
Clock accuracy unit.static String
CLOCK_ADDITIONAL_STATE
Additional state name for clock.static Unit
CLOCK_RATE_ACCURACY_UNIT
Clock rate accuracy unit.static Unit
CLOCK_RATE_UNIT
Clock rate unit.static Unit
CLOCK_UNIT
Clock unit.static double
DEFAULT_CLOCK_RATE_VALUE
Bad or absent clock rate values are to be set to 999999.999999.static double
DEFAULT_CLOCK_VALUE
Bad or absent clock values are to be set to 999999.999999.static double
POS_VEL_BASE_ACCURACY
Base for general position/velocity accuracy.static Unit
POSITION_ACCURACY_UNIT
Position accuracy unit.static Unit
POSITION_UNIT
Position unit.static Unit
VELOCITY_ACCURACY_UNIT
Velocity accuracy unit.static Unit
VELOCITY_UNIT
Velocity unit.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
indexAccuracy(Unit unit, double base, double accuracy)
Convert an accuracy from SI units.static double
siAccuracy(Unit unit, double base, int accuracyIndex)
Convert an accuracy to SI units.
-
-
-
Field Detail
-
DEFAULT_CLOCK_VALUE
public static final double DEFAULT_CLOCK_VALUE
Bad or absent clock values are to be set to 999999.999999.- See Also:
- Constant Field Values
-
DEFAULT_CLOCK_RATE_VALUE
public static final double DEFAULT_CLOCK_RATE_VALUE
Bad or absent clock rate values are to be set to 999999.999999.- See Also:
- Constant Field Values
-
POS_VEL_BASE_ACCURACY
public static final double POS_VEL_BASE_ACCURACY
Base for general position/velocity accuracy.- See Also:
- Constant Field Values
-
POSITION_UNIT
public static final Unit POSITION_UNIT
Position unit.
-
POSITION_ACCURACY_UNIT
public static final Unit POSITION_ACCURACY_UNIT
Position accuracy unit.
-
VELOCITY_UNIT
public static final Unit VELOCITY_UNIT
Velocity unit.
-
VELOCITY_ACCURACY_UNIT
public static final Unit VELOCITY_ACCURACY_UNIT
Velocity accuracy unit.
-
CLOCK_ADDITIONAL_STATE
public static final String CLOCK_ADDITIONAL_STATE
Additional state name for clock.- Since:
- 12.1
- See Also:
- Constant Field Values
-
CLOCK_UNIT
public static final Unit CLOCK_UNIT
Clock unit.
-
CLOCK_ACCURACY_UNIT
public static final Unit CLOCK_ACCURACY_UNIT
Clock accuracy unit.
-
CLOCK_RATE_UNIT
public static final Unit CLOCK_RATE_UNIT
Clock rate unit.
-
CLOCK_RATE_ACCURACY_UNIT
public static final Unit CLOCK_RATE_ACCURACY_UNIT
Clock rate accuracy unit.
-
-
Method Detail
-
siAccuracy
public static double siAccuracy(Unit unit, double base, int accuracyIndex)
Convert an accuracy to SI units.- Parameters:
unit
- accuracy unitbase
- baseaccuracyIndex
- index of accuracy- Returns:
- accuracy in SI units
-
indexAccuracy
public static int indexAccuracy(Unit unit, double base, double accuracy)
Convert an accuracy from SI units.- Parameters:
unit
- accuracy unitbase
- baseaccuracy
- in SI units- Returns:
- accuracyIndex index of accuracy
-
-