Package org.orekit.orbits
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 axisex- first component of the eccentricity vectorey- second component of the eccentricity vectori- inclinationraan- right ascension of ascending nodelatitudeArgument- argument of latitude corresponding to angle typepositionAngleType- 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 Summary
ConstructorsConstructorDescriptionFieldCircularParameters(Field<T> field, CircularParameters elements) Constructor from non-Field.FieldCircularParameters(T a, T ex, T ey, T i, T raan, T latitudeArgument, PositionAngleType positionAngleType) Creates an instance of aFieldCircularParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptiona()Returns the value of thearecord component.final booleanIndicates whether some other object is "equal to" this one.ex()Returns the value of theexrecord component.ey()Returns the value of theeyrecord component.final inthashCode()Returns a hash code value for this object.i()Returns the value of theirecord component.Returns the value of thelatitudeArgumentrecord component.Returns the value of thepositionAngleTyperecord component.raan()Returns the value of theraanrecord component.Convert Field elements to non-Field ones.final StringtoString()Returns a string representation of this record class.withPositionAngleType(PositionAngleType angleType) Builds a new instance with the specified position angle type.
-
Constructor Details
-
FieldCircularParameters
Constructor from non-Field.- Parameters:
field- fieldelements- circular elements
-
FieldCircularParameters
public FieldCircularParameters(T a, T ex, T ey, T i, T raan, T latitudeArgument, PositionAngleType positionAngleType) Creates an instance of aFieldCircularParametersrecord class.- Parameters:
a- the value for thearecord componentex- the value for theexrecord componentey- the value for theeyrecord componenti- the value for theirecord componentraan- the value for theraanrecord componentlatitudeArgument- the value for thelatitudeArgumentrecord componentpositionAngleType- the value for thepositionAngleTyperecord component
-
-
Method Details
-
withPositionAngleType
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
Convert Field elements to non-Field ones.- Returns:
- circular elements
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
a
Returns the value of thearecord component.- Returns:
- the value of the
arecord component
-
ex
Returns the value of theexrecord component.- Returns:
- the value of the
exrecord component
-
ey
Returns the value of theeyrecord component.- Returns:
- the value of the
eyrecord component
-
i
Returns the value of theirecord component.- Returns:
- the value of the
irecord component
-
raan
Returns the value of theraanrecord component.- Returns:
- the value of the
raanrecord component
-
latitudeArgument
Returns the value of thelatitudeArgumentrecord component.- Returns:
- the value of the
latitudeArgumentrecord component
-
positionAngleType
Returns the value of thepositionAngleTyperecord component.- Returns:
- the value of the
positionAngleTyperecord component
-