Record Class FieldCircularParameters<T extends CalculusFieldElement<T>>

java.lang.Object
java.lang.Record
org.orekit.orbits.FieldCircularParameters<T>
Type Parameters:
T - type of the field elements
Record Components:
a - semi-major axis
ex - first component of the eccentricity vector
ey - second component of the eccentricity vector
i - inclination
raan - right ascension of ascending node
latitudeArgument - argument of latitude corresponding to angle type
positionAngleType - angle type

public record FieldCircularParameters<T extends CalculusFieldElement<T>>(T extends CalculusFieldElement<T> a, T extends CalculusFieldElement<T> ex, T extends CalculusFieldElement<T> ey, T extends CalculusFieldElement<T> i, T extends CalculusFieldElement<T> raan, T extends CalculusFieldElement<T> latitudeArgument, PositionAngleType positionAngleType) extends Record
Data container for circular orbital elements (Field version).
Since:
14.0
Author:
Romain Serra
See Also:
  • Constructor Details

    • FieldCircularParameters

      public FieldCircularParameters(Field<T> field, CircularParameters elements)
      Constructor from non-Field.
      Parameters:
      field - field
      elements - circular elements
    • FieldCircularParameters

      public FieldCircularParameters(T a, T ex, T ey, T i, T raan, T latitudeArgument, PositionAngleType positionAngleType)
      Creates an instance of a FieldCircularParameters record class.
      Parameters:
      a - the value for the a record component
      ex - the value for the ex record component
      ey - the value for the ey record component
      i - the value for the i record component
      raan - the value for the raan record component
      latitudeArgument - the value for the latitudeArgument record component
      positionAngleType - the value for the positionAngleType record component
  • Method Details

    • withPositionAngleType

      public FieldCircularParameters<T> withPositionAngleType(PositionAngleType angleType)
      Builds a new instance with the specified position angle type.
      Parameters:
      angleType - angle type for the output
      Returns:
      circular elements with the specified position angle type
    • toCircularElements

      public CircularParameters toCircularElements()
      Convert Field elements to non-Field ones.
      Returns:
      circular elements
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • a

      public T a()
      Returns the value of the a record component.
      Returns:
      the value of the a record component
    • ex

      public T ex()
      Returns the value of the ex record component.
      Returns:
      the value of the ex record component
    • ey

      public T ey()
      Returns the value of the ey record component.
      Returns:
      the value of the ey record component
    • i

      public T i()
      Returns the value of the i record component.
      Returns:
      the value of the i record component
    • raan

      public T raan()
      Returns the value of the raan record component.
      Returns:
      the value of the raan record component
    • latitudeArgument

      public T latitudeArgument()
      Returns the value of the latitudeArgument record component.
      Returns:
      the value of the latitudeArgument record component
    • positionAngleType

      public PositionAngleType positionAngleType()
      Returns the value of the positionAngleType record component.
      Returns:
      the value of the positionAngleType record component