EarthMoonBarycenterComputeEarthMoonBarycenterPoint Method |
Computes the position of the Earth-Moon barycenter using the
Earth-Moon mass ratio and the positions of the
Earth and Moon.
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static Point ComputeEarthMoonBarycenterPoint(
Point earthCenterOfMassPoint,
Point moonCenterOfMassPoint,
double earthMoonMassRatio
)
Public Shared Function ComputeEarthMoonBarycenterPoint (
earthCenterOfMassPoint As Point,
moonCenterOfMassPoint As Point,
earthMoonMassRatio As Double
) As Point
public:
static Point^ ComputeEarthMoonBarycenterPoint(
Point^ earthCenterOfMassPoint,
Point^ moonCenterOfMassPoint,
double earthMoonMassRatio
)
static member ComputeEarthMoonBarycenterPoint :
earthCenterOfMassPoint : Point *
moonCenterOfMassPoint : Point *
earthMoonMassRatio : float -> Point
Parameters
- earthCenterOfMassPoint
- Type: AGI.Foundation.GeometryPoint
The center of mass of the Earth. - moonCenterOfMassPoint
- Type: AGI.Foundation.GeometryPoint
The center of mass of the Moon. - earthMoonMassRatio
- Type: SystemDouble
The gravitational parameter of the Earth divided
by the gravitational parameter of the Moon.
Return Value
Type:
PointThe position of the Earth-Moon barycenter.
See Also