KozaiIzsakMeanElements Constructor (MotionCartesian, Double, Double, Double) |
Initializes a set of Kozai-Izsak mean elements from the specified
Cartesian motion. Please note that there must be a
correspondence between the inertial and fixed frames used for the input motion.
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.2.419.0 (24.2.419.0)
Syntax public KozaiIzsakMeanElements(
Motion<Cartesian> motion,
double gravitationalParameter,
double j2UnnormalizedValue,
double referenceDistance
)
Public Sub New (
motion As Motion(Of Cartesian),
gravitationalParameter As Double,
j2UnnormalizedValue As Double,
referenceDistance As Double
)
public:
KozaiIzsakMeanElements(
Motion<Cartesian> motion,
double gravitationalParameter,
double j2UnnormalizedValue,
double referenceDistance
)
new :
motion : Motion<Cartesian> *
gravitationalParameter : float *
j2UnnormalizedValue : float *
referenceDistance : float -> KozaiIzsakMeanElements
Parameters
- motion
- Type: AGI.FoundationMotionCartesian
The Cartesian position and velocity. - gravitationalParameter
- Type: SystemDouble
The gravitational parameter for the central body
(distance cubed per time squared). - 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.
For other orbit types, use ModifiedKeplerianElements. |
See Also