Package org.orekit.files.iirv.terms
Class CoordinateSystemTerm
- java.lang.Object
-
- org.orekit.files.iirv.terms.base.IIRVVectorTerm<Long>
-
- org.orekit.files.iirv.terms.base.LongValuedIIRVTerm
-
- org.orekit.files.iirv.terms.CoordinateSystemTerm
-
- All Implemented Interfaces:
Comparable<IIRVVectorTerm<?>>
public class CoordinateSystemTerm extends LongValuedIIRVTerm
1-character representing the coordinate system associated with the state variables.Valid values:
- 1 = Geocentric True-of-Date Rotating
- 2 = Geocentric mean of 1950.0 (B1950.0)
- 3 = Heliocentric B1950.0
- 4 = Reserved for JPL use (non-GSFC)
- 5 = Reserved for JPL use (non-GSFC)
- 6 = Geocentric mean of 2000.0 (J2000.0)
- 7 = Heliocentric J2000.0
- Since:
- 13.0
- Author:
- Nick LaFarge
-
-
Field Summary
Fields Modifier and Type Field Description static int
COORDINATE_SYSTEM_TERM_LENGTH
The length of the IIRV term within the message.static String
COORDINATE_SYSTEM_TERM_PATTERN
Regular expression that ensures the validity of string values for this term.static CoordinateSystemTerm
GEOCENTRIC_MEAN_B1950
Geocentric mean of 1950.0 (B1950.0) CoordinateSystemTerm.static CoordinateSystemTerm
GEOCENTRIC_MEAN_OF_J2000
Geocentric mean of 2000.0 (J2000.0) CoordinateSystemTerm.static CoordinateSystemTerm
GEOCENTRIC_TRUE_OF_DATE_ROTATING
Geocentric True-of-Date Rotating (GTOD) CoordinateSystemTerm.static CoordinateSystemTerm
HELIOCENTRIC_B1950
Heliocentric B1950.0 CoordinateSystemTerm.static CoordinateSystemTerm
HELIOCENTRIC_J2000
Heliocentric J2000.0 CoordinateSystemTerm.static CoordinateSystemTerm
JPL_RESERVED_1
Reserved for JPL use (non-GSFC) CoordinateSystemTerm.static CoordinateSystemTerm
JPL_RESERVED_2
Reserved for JPL use (non-GSFC) CoordinateSystemTerm.
-
Constructor Summary
Constructors Constructor Description CoordinateSystemTerm(long value)
Constructor.CoordinateSystemTerm(String value)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Frame
getFrame()
Returns theFrame
specified within the IIRV using thedefault data context
.Frame
getFrame(DataContext context)
Returns theFrame
specified within the IIRV.-
Methods inherited from class org.orekit.files.iirv.terms.base.LongValuedIIRVTerm
computeValueFromString, toEncodedString, toInt, validateNumericValue
-
Methods inherited from class org.orekit.files.iirv.terms.base.IIRVVectorTerm
compareTo, equals, hashCode, length, toEncodedString, validateString, value
-
-
-
-
Field Detail
-
GEOCENTRIC_TRUE_OF_DATE_ROTATING
public static final CoordinateSystemTerm GEOCENTRIC_TRUE_OF_DATE_ROTATING
Geocentric True-of-Date Rotating (GTOD) CoordinateSystemTerm.Also known as True of Date Rotating frame (TDR) or Greenwich Rotating Coordinate frame (GCR).
-
GEOCENTRIC_MEAN_B1950
public static final CoordinateSystemTerm GEOCENTRIC_MEAN_B1950
Geocentric mean of 1950.0 (B1950.0) CoordinateSystemTerm.
-
HELIOCENTRIC_B1950
public static final CoordinateSystemTerm HELIOCENTRIC_B1950
Heliocentric B1950.0 CoordinateSystemTerm.
-
JPL_RESERVED_1
public static final CoordinateSystemTerm JPL_RESERVED_1
Reserved for JPL use (non-GSFC) CoordinateSystemTerm.
-
JPL_RESERVED_2
public static final CoordinateSystemTerm JPL_RESERVED_2
Reserved for JPL use (non-GSFC) CoordinateSystemTerm.
-
GEOCENTRIC_MEAN_OF_J2000
public static final CoordinateSystemTerm GEOCENTRIC_MEAN_OF_J2000
Geocentric mean of 2000.0 (J2000.0) CoordinateSystemTerm.
-
HELIOCENTRIC_J2000
public static final CoordinateSystemTerm HELIOCENTRIC_J2000
Heliocentric J2000.0 CoordinateSystemTerm.
-
COORDINATE_SYSTEM_TERM_LENGTH
public static final int COORDINATE_SYSTEM_TERM_LENGTH
The length of the IIRV term within the message.- See Also:
- Constant Field Values
-
COORDINATE_SYSTEM_TERM_PATTERN
public static final String COORDINATE_SYSTEM_TERM_PATTERN
Regular expression that ensures the validity of string values for this term.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CoordinateSystemTerm
public CoordinateSystemTerm(String value)
Constructor.- Parameters:
value
- value of the coordinate system term
-
CoordinateSystemTerm
public CoordinateSystemTerm(long value)
Constructor.- Parameters:
value
- value of the coordinate system term
-
-
Method Detail
-
getFrame
public Frame getFrame(DataContext context)
Returns theFrame
specified within the IIRV.- Parameters:
context
- data context used to retrieve frames- Returns:
- coordinate system
-
getFrame
@DefaultDataContext public Frame getFrame()
Returns theFrame
specified within the IIRV using thedefault data context
.- Returns:
- coordinate system
-
-