Click or drag to resize

ThirdBodyGravityIndexOf 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: 24.1.418.0 (24.1.418.0)
Syntax
public int IndexOf(
	double gravitationalParameter
)

Parameters

gravitationalParameter
Type: SystemDouble
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