DelaunayElements Constructor (Cartesian, Cartesian, Double) |
Initialize a set of Delaunay elements based upon a cartesian position and velocity.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public DelaunayElements(
Cartesian position,
Cartesian velocity,
double gravitationalParameter
)
Public Sub New (
position As Cartesian,
velocity As Cartesian,
gravitationalParameter As Double
)
public:
DelaunayElements(
Cartesian position,
Cartesian velocity,
double gravitationalParameter
)
new :
position : Cartesian *
velocity : Cartesian *
gravitationalParameter : float -> DelaunayElements
Parameters
- position
- Type: AGI.Foundation.CoordinatesCartesian
The position (distance). - velocity
- Type: AGI.Foundation.CoordinatesCartesian
The velocity (distance per time). - gravitationalParameter
- Type: SystemDouble
The gravitational parameter used to create these elements (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).
|
InvalidOperationException |
Thrown when the elements provided cannot be represented by Delaunay elements.
|
See Also