ModifiedKeplerianElements Constructor (Motion<Cartesian>, Double) |
Initializes a new instance from the specified
Cartesian motion and gravitational constant.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic ModifiedKeplerianElements(
Motion<Cartesian> motion,
double gravitationalParameter
)
Public Sub New (
motion As Motion(Of Cartesian),
gravitationalParameter As Double
)
public:
ModifiedKeplerianElements(
Motion<Cartesian> motion,
double gravitationalParameter
)
new :
motion : Motion<Cartesian> *
gravitationalParameter : float -> ModifiedKeplerianElements
Parameters
- motion
- Type: AGI.Foundation.Motion<Cartesian>
The cartesian position and velocity (distance and distance per time). - gravitationalParameter
- Type: System.Double
The gravitational parameter for the central body (distance cubed per time squared).
Exceptions
Remarks
If the orbit eccentricity turns out to be less than
Epsilon12,
the argument of periapsis will be aligned with the ascending node (the value is set to zero).
See Also