Table of Contents

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

double

Eccentricity

[-] Eccentricity of the orbit

public double Eccentricity

Field Value

double

Inclination

[rad] Inclination of the orbital plane

public double Inclination

Field Value

double

OmegaAscension

[rad] Right ascension of the ascending node

public double OmegaAscension

Field Value

double

SemiMajorAxis

[m] The object's Semi-Major Axis

public double SemiMajorAxis

Field Value

double

TrueAnomaly

[rad] True anomaly of the orbit

public double TrueAnomaly

Field Value

double

Properties

Alpha

[-] Inverted semi-major axis

public readonly double Alpha { get; }

Property Value

double

PositionMagnitude

[m] Magnitude of the position vector

public readonly double PositionMagnitude { get; }

Property Value

double

RadiusApoapsis

[m] Radius of apoapsis

public readonly double RadiusApoapsis { get; }

Property Value

double

RadiusPeriapsis

[m] Radius of periapsis

public readonly double RadiusPeriapsis { get; }

Property Value

double

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 ClassicElements

The array of data in the correct order of 6 parameters

Returns

double[]