Click or drag to resize

ThirdBodyGravity.IndexOf Method (Double)

Searches ThirdBodies and returns the index of the body with the given gravitational parameter.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public int IndexOf(
	double gravitationalParameter
)

Parameters

gravitationalParameter
Type: System.Double
The gravitational parameter for which to search.

Return Value

Type: Int32
The index of the body with the given gravitational parameter, if found; otherwise –1.
See Also