Package org.orekit.files.iirv.terms
Class PositionVectorComponentTerm
- java.lang.Object
-
- org.orekit.files.iirv.terms.base.IIRVVectorTerm<Long>
-
- org.orekit.files.iirv.terms.base.LongValuedIIRVTerm
-
- org.orekit.files.iirv.terms.PositionVectorComponentTerm
-
- All Implemented Interfaces:
Comparable<IIRVVectorTerm<?>>
public class PositionVectorComponentTerm extends LongValuedIIRVTerm
13-character signed component of a position vector.Units: m
Valid values:
- Character 1: ' ' or '-'
- Character 2-12: Any integer 0-9
- Since:
- 13.0
- Author:
- Nick LaFarge
-
-
Field Summary
Fields Modifier and Type Field Description static int
POSITION_VECTOR_COMPONENT_TERM_LENGTH
The length of the IIRV term within the message.static String
POSITION_VECTOR_COMPONENT_TERM_PATTERN
Regular expression that ensures the validity of string values for this term.
-
Constructor Summary
Constructors Constructor Description PositionVectorComponentTerm(double value)
Initializes a PositionVectorComponentTerm by rounding a floating point number to the nearest integer.PositionVectorComponentTerm(long value)
Constructor.PositionVectorComponentTerm(String value)
Constructor.
-
Method Summary
-
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
-
POSITION_VECTOR_COMPONENT_TERM_LENGTH
public static final int POSITION_VECTOR_COMPONENT_TERM_LENGTH
The length of the IIRV term within the message.- See Also:
- Constant Field Values
-
POSITION_VECTOR_COMPONENT_TERM_PATTERN
public static final String POSITION_VECTOR_COMPONENT_TERM_PATTERN
Regular expression that ensures the validity of string values for this term.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PositionVectorComponentTerm
public PositionVectorComponentTerm(long value)
Constructor.- Parameters:
value
- value of the position vector component
-
PositionVectorComponentTerm
public PositionVectorComponentTerm(String value)
Constructor.- Parameters:
value
- value of the position vector component
-
PositionVectorComponentTerm
public PositionVectorComponentTerm(double value)
Initializes a PositionVectorComponentTerm by rounding a floating point number to the nearest integer. SeeLongValuedIIRVTerm(String, long, int, boolean)
- Parameters:
value
- value of the position vector component
-
-