EquinoctialElements Constructor (Cartesian, Cartesian, Double) |
Initialize a set of equinoctial elements from cartesian position and velocity.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public EquinoctialElements(
Cartesian position,
Cartesian velocity,
double gravitationalParameter
)
Public Sub New (
position As Cartesian,
velocity As Cartesian,
gravitationalParameter As Double
)
public:
EquinoctialElements(
Cartesian position,
Cartesian velocity,
double gravitationalParameter
)
new :
position : Cartesian *
velocity : Cartesian *
gravitationalParameter : float -> EquinoctialElements
Parameters
- position
- Type: AGI.Foundation.CoordinatesCartesian
Cartesian position (distance). - velocity
- Type: AGI.Foundation.CoordinatesCartesian
Cartesian velocity (distance per time). - gravitationalParameter
- Type: SystemDouble
Gravitational parameter (distance cubed per time squared).
Exceptions Exception | Condition |
---|
InvalidOperationException |
Thrown when the position and velocity represent
an open orbit (with an eccentricity greater than or equal to one).
|
See Also