KozaiIzsakMeanElements Constructor (Cartesian, Cartesian, Double, Double, Double) |
Initialize a set of Kozai-Izsak mean elements from a
Cartesian position and velocity. Please note that there must be a
correspondence between the inertial and fixed frames used for the input position and velocity.
Specifically, the XY plane of the input motion should correspond to the equatorial plane.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public KozaiIzsakMeanElements(
Cartesian position,
Cartesian velocity,
double gravitationalParameter,
double j2UnnormalizedValue,
double referenceDistance
)
Public Sub New (
position As Cartesian,
velocity As Cartesian,
gravitationalParameter As Double,
j2UnnormalizedValue As Double,
referenceDistance As Double
)
public:
KozaiIzsakMeanElements(
Cartesian position,
Cartesian velocity,
double gravitationalParameter,
double j2UnnormalizedValue,
double referenceDistance
)
new :
position : Cartesian *
velocity : Cartesian *
gravitationalParameter : float *
j2UnnormalizedValue : float *
referenceDistance : float -> KozaiIzsakMeanElements
Parameters
- position
- Type: AGI.Foundation.CoordinatesCartesian
The Cartesian position. - velocity
- Type: AGI.Foundation.CoordinatesCartesian
The Cartesian velocity. - gravitationalParameter
- Type: SystemDouble
The gravitational parameter to use to create this set. - j2UnnormalizedValue
- Type: SystemDouble
The non-normalized J2 zonal harmonic coefficient. - referenceDistance
- Type: SystemDouble
The reference distance (equatorial radius) associated with the J2 coefficient.
Exceptions Exception | Condition |
---|
ArgumentException | The given elements must represent a closed orbit. The exception
is thrown if the eccentricity is negative or not below unity or if the semimajor axis is not finitely positive.
|
See Also