Click or drag to resize

CentralBodiesFacetGetCentralBodyOfPoint Method

Gets the central body most closely associated with a given point.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 22.1.413.0 (22.1.413.0)
public CentralBody GetCentralBodyOfPoint(
	JulianDate date,
	Point point


Type: AGI.Foundation.TimeJulianDate
The date at which to obtain the central body, in case the point is defined in different reference frames at different times.
Type: AGI.Foundation.GeometryPoint
The point.

Return Value

Type: CentralBody
The central body that is most closely associated with the point.
This method traverses the DefinedInIntervals chain until it finds the center of mass point of a central body, and returns that central body. If a central body center of mass point is not found, this method returns null.
See Also