KeplerianElements Constructor (MotionCartesian, Double, Double, 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: 25.1.421.0 (25.1.421.0)
Syntaxpublic KeplerianElements(
	Motion<Cartesian> motion,
	double gravitationalParameter,
	double eccentricityTolerance,
	double inclinationTolerance
)
Public Sub New ( 
	motion As Motion(Of Cartesian),
	gravitationalParameter As Double,
	eccentricityTolerance As Double,
	inclinationTolerance As Double
)
public:
KeplerianElements(
	Motion<Cartesian> motion, 
	double gravitationalParameter, 
	double eccentricityTolerance, 
	double inclinationTolerance
)
new : 
        motion : Motion<Cartesian> * 
        gravitationalParameter : float * 
        eccentricityTolerance : float * 
        inclinationTolerance : float -> KeplerianElementsParameters
- motion
 - Type: AGI.FoundationMotionCartesian
The cartesian position and velocity (distance and distance per time). - gravitationalParameter
 - Type: SystemDouble
The gravitational parameter for the central body
            (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
            inclination is zero below which the orbit is equatorial. 
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. | 
| ArgumentOutOfRangeException | Thrown if either eccentricityTolerance or
            inclinationTolerance is negative. | 
See Also