Package org.orekit.files.iirv.terms
Class MassTerm
- java.lang.Object
-
- org.orekit.files.iirv.terms.base.IIRVVectorTerm<Double>
-
- org.orekit.files.iirv.terms.base.DoubleValuedIIRVTerm
-
- org.orekit.files.iirv.terms.MassTerm
-
- All Implemented Interfaces:
Comparable<IIRVVectorTerm<?>>
public class MassTerm extends DoubleValuedIIRVTerm
8-character mass of the satellite in kilograms with a resolution to the nearest tenth of a kilogram; assumed decimal point is one place from the right. Must contain all zeros if not used.Units: kg
Valid values:
- 0 to 999.99
- [String]: Any integer 0-9 for characters 1-8
- Since:
- 13.0
- Author:
- Nick LaFarge
-
-
Field Summary
Fields Modifier and Type Field Description static int
MASS_TERM_LENGTH
The length of the IIRV term within the message.static String
MASS_TERM_PATTERN
Regular expression that ensures the validity of string values for this term.static MassTerm
UNUSED
MassTerm contains all zeros when not used.
-
Method Summary
-
Methods inherited from class org.orekit.files.iirv.terms.base.DoubleValuedIIRVTerm
computeValueFromString, toEncodedString
-
Methods inherited from class org.orekit.files.iirv.terms.base.IIRVVectorTerm
compareTo, equals, hashCode, length, toEncodedString, validateString, value
-
-
-
-
Field Detail
-
UNUSED
public static final MassTerm UNUSED
MassTerm contains all zeros when not used.
-
MASS_TERM_LENGTH
public static final int MASS_TERM_LENGTH
The length of the IIRV term within the message.- See Also:
- Constant Field Values
-
MASS_TERM_PATTERN
public static final String MASS_TERM_PATTERN
Regular expression that ensures the validity of string values for this term.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MassTerm
public MassTerm(String value)
Constructor.- Parameters:
value
- mass value [kg]
-
MassTerm
public MassTerm(double value)
Constructor.- Parameters:
value
- mass value [kg]
-
-