Class FieldCachedTransformProvider<T extends CalculusFieldElement<T>>

java.lang.Object
org.orekit.frames.FieldCachedTransformProvider<T>
Type Parameters:
T - type of the field elements

public class FieldCachedTransformProvider<T extends CalculusFieldElement<T>> extends Object
Thread-safe cached provider for frame transforms.

This provider is based on a thread-safe Least Recently Used cache using date as it access key, hence saving computation time on transform building.

This class is thread-safe.

Since:
13.0.3
Author:
Luc Maisonobe
  • Constructor Details

  • Method Details

    • getOrigin

      public Frame getOrigin()
      Get origin frame.
      Returns:
      origin frame
    • getDestination

      public Frame getDestination()
      Get destination frame.
      Returns:
      destination frame
    • getCacheSize

      public int getCacheSize()
      Get the nmber of transforms kept in the date-based cache.
      Returns:
      nmber of transforms kept in the date-based cache
    • getTransform

      public FieldTransform<T> getTransform(FieldAbsoluteDate<T> date)
      Get the Transform corresponding to specified date.
      Parameters:
      date - current date
      Returns:
      transform at specified date
    • getKinematicTransform

      public FieldKinematicTransform<T> getKinematicTransform(FieldAbsoluteDate<T> date)
      Get the Transform corresponding to specified date.
      Parameters:
      date - current date
      Returns:
      transform at specified date
    • getStaticTransform

      public FieldStaticTransform<T> getStaticTransform(FieldAbsoluteDate<T> date)
      Get the Transform corresponding to specified date.
      Parameters:
      date - current date
      Returns:
      transform at specified date