DelaunayElements Constructor (Cartesian, Cartesian, Double, Double, 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.3.420.0 (24.3.420.0)
Syntax public DelaunayElements(
Cartesian position,
Cartesian velocity,
double gravitationalParameter,
double eccentricityTolerance,
double inclinationTolerance
)
Public Sub New (
position As Cartesian,
velocity As Cartesian,
gravitationalParameter As Double,
eccentricityTolerance As Double,
inclinationTolerance As Double
)
public:
DelaunayElements(
Cartesian position,
Cartesian velocity,
double gravitationalParameter,
double eccentricityTolerance,
double inclinationTolerance
)
new :
position : Cartesian *
velocity : Cartesian *
gravitationalParameter : float *
eccentricityTolerance : float *
inclinationTolerance : 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). - eccentricityTolerance
- Type: SystemDouble
The tolerance which defines the value of 'zero' to use when checking whether the
eccentricity is zero below which the orbit is circular. - inclinationTolerance
- Type: SystemDouble
The tolerance which defines the value of 'zero' to use when checking whether the
angular momentum vector is nearly vertical and the orbit is equatorial.
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