org.orekit.orbits
Enum PositionAngle

java.lang.Object
  extended by java.lang.Enum<PositionAngle>
      extended by org.orekit.orbits.PositionAngle
All Implemented Interfaces:
Serializable, Comparable<PositionAngle>

public enum PositionAngle
extends Enum<PositionAngle>

Enumerate for true, eccentric and mean position angles.

Author:
Luc Maisonobe
See Also:
KeplerianOrbit, CircularOrbit, EquinoctialOrbit, ApsisOrbit

Enum Constant Summary
ECCENTRIC
          Eccentric angle.
MEAN
          Mean angle.
TRUE
          True angle.
 
Method Summary
static PositionAngle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PositionAngle[] 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

MEAN

public static final PositionAngle MEAN
Mean angle.


ECCENTRIC

public static final PositionAngle ECCENTRIC
Eccentric angle.


TRUE

public static final PositionAngle TRUE
True angle.

Method Detail

values

public static PositionAngle[] 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 (PositionAngle c : PositionAngle.values())
    System.out.println(c);

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

valueOf

public static PositionAngle 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


Copyright © 2016 CNES. All Rights Reserved.