Class OrekitConfiguration

java.lang.Object
org.orekit.utils.OrekitConfiguration

public class OrekitConfiguration extends Object
Utility class for setting global configuration parameters.
Author:
Luc Maisonobe
  • Method Details

    • setCacheSlotsNumber

      public static void setCacheSlotsNumber(int slotsNumber)
      Set the number of slots to use in caches.
      Parameters:
      slotsNumber - number of slots to use in caches
    • getCacheSlotsNumber

      public static int getCacheSlotsNumber()
      Get the number of slots to use in caches.
      Returns:
      number of slots to use in caches
    • getOrekitVersion

      public static String getOrekitVersion()
      Get Orekit version.

      The version is automatically retrieved from a properties file generated at maven compilation time. When using an IDE not configured to use maven, then a default value "unknown" will be returned.

      Returns:
      Orekit version
      Since:
      13.0