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<?>>
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
FieldsModifier and TypeFieldDescriptionstatic final intThe length of the IIRV term within the message.static final StringRegular expression that ensures the validity of string values for this term. -
Constructor Summary
ConstructorsConstructorDescriptionPositionVectorComponentTerm(double value) Initializes a PositionVectorComponentTerm by rounding a floating point number to the nearest integer.PositionVectorComponentTerm(long value) Constructor.Constructor. -
Method Summary
Methods inherited from class org.orekit.files.iirv.terms.base.LongValuedIIRVTerm
computeValueFromString, toEncodedString, toInt, validateNumericValueMethods inherited from class org.orekit.files.iirv.terms.base.IIRVVectorTerm
compareTo, equals, hashCode, length, toEncodedString, validateString, value
-
Field Details
-
POSITION_VECTOR_COMPONENT_TERM_LENGTH
public static final int POSITION_VECTOR_COMPONENT_TERM_LENGTHThe length of the IIRV term within the message.- See Also:
-
POSITION_VECTOR_COMPONENT_TERM_PATTERN
Regular expression that ensures the validity of string values for this term.- See Also:
-
-
Constructor Details
-
PositionVectorComponentTerm
public PositionVectorComponentTerm(long value) Constructor.- Parameters:
value- value of the position vector component
-
PositionVectorComponentTerm
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
-