1   /* Copyright 2002-2025 CS GROUP
2    * Licensed to CS GROUP (CS) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * CS licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *   http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  
18  package org.orekit.frames;
19  
20  import org.orekit.time.AbsoluteDate;
21  
22  /** Interface for Transform providers that use {@link EOPHistory Earth Orientation Parameters}.
23   * @author Luc Maisonobe
24   * @since 7.1
25   */
26  public interface EOPBasedTransformProvider extends TransformProvider {
27  
28      /** Get the EOP history.
29       * @return EOP history
30       */
31      EOPHistory getEOPHistory();
32  
33      /** Get a version of the provider that does <em>not</em> cache tidal corrections.
34       * <p>
35       * This method removes the performance enhancing interpolation features that are
36       * used by default in EOP-based provider, in order to focus on accuracy. The
37       * interpolation features are intended to save processing time by avoiding doing
38       * tidal correction evaluation at each time step and caching some results. This
39       * method can be used to avoid this (it is automatically called by {@link
40       * FramesFactory#getNonInterpolatingTransform(Frame, Frame, AbsoluteDate)}, when
41       * very high accuracy is desired, or for testing purposes. It should be used with
42       * care, as doing the full computation is <em>really</em> costly.
43       * </p>
44       * @return version of the provider that does <em>not</em> cache tidal corrections
45       * @see FramesFactory#getNonInterpolatingTransform(Frame, Frame, AbsoluteDate)
46       */
47      EOPBasedTransformProvider getNonInterpolatingProvider();
48  
49  }