Class FieldTimeStampedPair<F extends FieldTimeStamped<KK>,S extends FieldTimeStamped<KK>,KK extends CalculusFieldElement<KK>>

java.lang.Object
org.orekit.time.FieldTimeStampedPair<F,S,KK>
Type Parameters:
F - first time stamped value
S - second time stamped value
KK - type of the field element
All Implemented Interfaces:
FieldTimeStamped<KK>

public class FieldTimeStampedPair<F extends FieldTimeStamped<KK>,S extends FieldTimeStamped<KK>,KK extends CalculusFieldElement<KK>> extends Object implements FieldTimeStamped<KK>
Pair of time stamped values being defined at the same date.
Author:
Vincent Cucchietti
See Also:
  • Field Details

    • DEFAULT_DATE_EQUALITY_THRESHOLD

      public static final double DEFAULT_DATE_EQUALITY_THRESHOLD
      Default date equality threshold of 1 ns.
      See Also:
  • Constructor Details

    • FieldTimeStampedPair

      public FieldTimeStampedPair(F first, S second)
      Constructor.

      First and second value must have the same date.

      Parameters:
      first - first time stamped value
      second - second time stamped value
    • FieldTimeStampedPair

      public FieldTimeStampedPair(F first, S second, double dateEqualityThreshold)
      Constructor.

      First and second value must have the same date.

      Parameters:
      first - first time stamped value
      second - second time stamped value
      dateEqualityThreshold - threshold below which dates are considered equal
  • Method Details

    • getDate

      public FieldAbsoluteDate<KK> getDate()
      Get the date.
      Specified by:
      getDate in interface FieldTimeStamped<F extends FieldTimeStamped<KK>>
      Returns:
      date attached to the object
    • getFirst

      public F getFirst()
      Get first time stamped value.
      Returns:
      first time stamped value
    • getSecond

      public S getSecond()
      Get second time stamped value.
      Returns:
      second time stamped value