Click or drag to resize

ThirdBodyGravityIndexOf Method (Point)

Search the ThirdBodies to see if the given body position is in the list and return its index. Otherwise, return -1.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public int IndexOf(
	Point point
)

Parameters

point
Type: AGI.Foundation.GeometryPoint
The body position for which to search.

Return Value

Type: Int32
If the point exists in the list of ThirdBodies, this returns the index into the list. Otherwise, it returns -1.
See Also