OrbitalElementsComputeSemimajorAxis Method  | 
 
            Calculates the semimajor axis of the orbit.
            
 
    Namespace: 
   AGI.Foundation.Coordinates
    Assembly:
   AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static double ComputeSemimajorAxis(
	double radiusOfPeriapsis,
	double eccentricity
)
Public Shared Function ComputeSemimajorAxis ( 
	radiusOfPeriapsis As Double,
	eccentricity As Double
) As Double
public:
static double ComputeSemimajorAxis(
	double radiusOfPeriapsis, 
	double eccentricity
)
static member ComputeSemimajorAxis : 
        radiusOfPeriapsis : float * 
        eccentricity : float -> float 
Parameters
- radiusOfPeriapsis
 - Type: SystemDouble
The radius of periapsis. - eccentricity
 - Type: SystemDouble
The eccentricity of the orbit. 
Return Value
Type: 
DoubleThe semimajor axis of the orbit.
Exceptions
RemarksThe result will be given in the same units as radiusOfPeriapsis.
See Also