Class RelativeElements
- Namespace
- NominalSystems.Universe
- Assembly
- NominalSystems.Universe.dll
This structure contains the set of Relative orbital elements that define the relative state between two spacecraft
public class RelativeElements
- Inheritance
-
RelativeElements
- Derived
Constructors
RelativeElements()
Default constructor for the relative orbital elements
public RelativeElements()
RelativeElements(ClassicElements, ClassicElements)
Construct the relative orbital elements from classical orbital elements by first converting them to non-singular orbital elements.
public RelativeElements(ClassicElements leader, ClassicElements follower)
Parameters
leader
ClassicElementsClassical orbital elements of the leader spacecraft
follower
ClassicElementsClassical orbital element of the follower spacecraft
RelativeElements(NonSingularElements, NonSingularElements)
Calculate the relative orbital elements based on input non-singular orbital elements
public RelativeElements(NonSingularElements nsoeLeader, NonSingularElements nsoeFollower)
Parameters
nsoeLeader
NonSingularElementsThe non-singular orbital elements of the lead spacecraft
nsoeFollower
NonSingularElementsThe non-singular orbital elements of the follower spacecraft
RelativeElements(double, VectorElements, VectorElements)
public RelativeElements(double mu, VectorElements leader, VectorElements follower)
Parameters
mu
doubleleader
VectorElementsfollower
VectorElements
RelativeElements(double, double, double, double, double, double)
construct the relative orbital elements
public RelativeElements(double da, double dex, double dey, double dix, double diy, double daoml)
Parameters
da
doubleThe relative semi-major axis
dex
doubleThe relative x component of eccentricity
dey
doubleThe relative y component of eccentricity
dix
doubleThe relative x component of inclination
diy
doubleThe relative y component of inclination
daoml
doubleThe relative argument of mean latitude
Fields
Da
[rad] the relative semi-major axis
public double Da
Field Value
Daoml
[rad] the relative mean argument of latitude
public double Daoml
Field Value
Dex
[rad] the relative x component of eccentricity
public double Dex
Field Value
Dey
[rad] the relative y component of eccentricity
public double Dey
Field Value
Dix
[rad] the relative x component of inclination
public double Dix
Field Value
Diy
[rad] the relative y component of inclination
public double Diy
Field Value
NSOEFollower
The non-singular orbital elements of the follower spacecraft
public NonSingularElements NSOEFollower
Field Value
NSOELeader
the non-singular orbital elements of the leader spacecraft
public NonSingularElements NSOELeader
Field Value
Methods
ClassicElem2RelativeElem(ClassicElements, ClassicElements)
A method that return the relative elements from input classic elements
public RelativeElements ClassicElem2RelativeElem(ClassicElements leader, ClassicElements follower)
Parameters
leader
ClassicElementsThe classical orbital elements for the leader spacecraft
follower
ClassicElementsThe classical orbital elements for the follower spacecraft
Returns
VectorElem2RelativeElem(double, VectorElements, VectorElements)
A method that returns the relative orbital elements from an input state vector
public RelativeElements VectorElem2RelativeElem(double mu, VectorElements leader, VectorElements follower)
Parameters
mu
doubleThe gravitational parameter of the primary body
leader
VectorElementsThe vector elements of the leader spacecraft
follower
VectorElementsThe vector elements of the follower spacecraft