Struct ClassicElements
- Namespace
- NominalSystems.Universe
- Assembly
- NominalSystems.Universe.dll
[Nominal] This structure contains the set of Keplerian orbital elements that define the spacecraft translational state. This contains the six Keplerian elements and the associated properties that can be derived from them.
public struct ClassicElements
Constructors
ClassicElements()
Default constructor
public ClassicElements()
ClassicElements(double, double, double, double, double, double)
Constructs a new classis elements with all of the correct values. This will construct the data from the given values.
public ClassicElements(double semiMajorAxis, double eccentricity, double inclination, double omegaAscension, double argumentOfPeriapsis, double trueAnomaly)
Parameters
semiMajorAxis
double[m] The object's Semi-Major Axis
eccentricity
double[-] Eccentricity of the orbit
inclination
double[rad] Inclination of the orbital plane
omegaAscension
double[rad] Right ascension of the ascending node
argumentOfPeriapsis
double[rad] Argument of periapsis of the orbit
trueAnomaly
double[rad] True anomaly of the orbit
ClassicElements(double[])
Creates a classic elements from an array of 6 values, assuming they are in the correct form for the data.
public ClassicElements(double[] array)
Parameters
array
double[]The array of data contained within the elements.
Fields
ArgumentOfPeriapsis
[rad] Argument of periapsis of the orbit
public double ArgumentOfPeriapsis
Field Value
Eccentricity
[-] Eccentricity of the orbit
public double Eccentricity
Field Value
Inclination
[rad] Inclination of the orbital plane
public double Inclination
Field Value
OmegaAscension
[rad] Right ascension of the ascending node
public double OmegaAscension
Field Value
SemiMajorAxis
[m] The object's Semi-Major Axis
public double SemiMajorAxis
Field Value
TrueAnomaly
[rad] True anomaly of the orbit
public double TrueAnomaly
Field Value
Properties
Alpha
[-] Inverted semi-major axis
public readonly double Alpha { get; }
Property Value
PositionMagnitude
[m] Magnitude of the position vector
public readonly double PositionMagnitude { get; }
Property Value
RadiusApoapsis
[m] Radius of apoapsis
public readonly double RadiusApoapsis { get; }
Property Value
RadiusPeriapsis
[m] Radius of periapsis
public readonly double RadiusPeriapsis { get; }
Property Value
Operators
implicit operator double[](ClassicElements)
Converts the classical elements into an array of values with the correct order of the data returned.
public static implicit operator double[](ClassicElements elements)
Parameters
elements
ClassicElementsThe array of data in the correct order of 6 parameters
Returns
- double[]