org.orekit.frames.configuration.precessionnutation
Enum PrecessionNutationConvention

java.lang.Object
  extended by java.lang.Enum<PrecessionNutationConvention>
      extended by org.orekit.frames.configuration.precessionnutation.PrecessionNutationConvention
All Implemented Interfaces:
Serializable, Comparable<PrecessionNutationConvention>

public enum PrecessionNutationConvention
extends Enum<PrecessionNutationConvention>

IERS Precession Nutation enumerate. Each enumerate provides data file locations.

Version:
$Id: PrecessionNutationConvention.java 17602 2017-05-18 08:25:23Z bignon $
Author:
Rami Houdroge

Enum Constant Summary
IERS2003
          IERS 2003 Precession Nutation convention.
IERS2010
          IERS 2010 Precession Nutation convention.
 
Method Summary
protected abstract  String[] getDataLocation()
          Get the location of the data for the selected convention.
 FrameConvention getIERSConvention()
          Getter for IERS convention.
static PrecessionNutationConvention valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PrecessionNutationConvention[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IERS2003

public static final PrecessionNutationConvention IERS2003
IERS 2003 Precession Nutation convention.


IERS2010

public static final PrecessionNutationConvention IERS2010
IERS 2010 Precession Nutation convention.

Method Detail

values

public static PrecessionNutationConvention[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PrecessionNutationConvention c : PrecessionNutationConvention.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PrecessionNutationConvention valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDataLocation

protected abstract String[] getDataLocation()
Get the location of the data for the selected convention.

Returns:
location

getIERSConvention

public FrameConvention getIERSConvention()
Getter for IERS convention.

Returns:
IERS convention


Copyright © 2017 CNES. All Rights Reserved.