Class AbstractCombinedClocksPair

java.lang.Object
org.orekit.time.clocks.AbstractCombinedClocksPair
All Implemented Interfaces:
ClockModel, ParameterDriversProvider
Direct Known Subclasses:
ClocksDifference, ClocksSum

public abstract class AbstractCombinedClocksPair extends Object implements ClockModel
Clock model combining two underlying models.
Since:
14.0
Author:
Luc Maisonobe
  • Constructor Details

    • AbstractCombinedClocksPair

      protected AbstractCombinedClocksPair(ClockModel clock1, ClockModel clock2)
      Simple constructor.
      Parameters:
      clock1 - first underlying clock
      clock2 - second underlying clock
  • Method Details

    • getClock1

      public ClockModel getClock1()
      Get the first underlying clock.
      Returns:
      first underlying clock
      Since:
      14.0
    • getClock2

      public ClockModel getClock2()
      Get the second underlying clock.
      Returns:
      second underlying clock
      Since:
      14.0
    • getValidityStart

      public AbsoluteDate getValidityStart()
      Get validity start.
      Specified by:
      getValidityStart in interface ClockModel
      Returns:
      model validity start
    • getValidityEnd

      public AbsoluteDate getValidityEnd()
      Get validity end.
      Specified by:
      getValidityEnd in interface ClockModel
      Returns:
      model validity end
    • getOffset

      public ClockOffset getOffset(AbsoluteDate date)
      Get the clock offset at date.
      Specified by:
      getOffset in interface ClockModel
      Parameters:
      date - date at which offset is requested
      Returns:
      clock offset at specified date
    • getParametersDrivers

      public List<ParameterDriver> getParametersDrivers()
      Get the drivers for parameters.
      Specified by:
      getParametersDrivers in interface ParameterDriversProvider
      Returns:
      drivers for parameters
    • combine

      protected abstract ClockOffset combine(ClockOffset offset1, ClockOffset offset2)
      Combine two offsets.
      Parameters:
      offset1 - first offset
      offset2 - second offset
      Returns:
      combined offset