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: 20.3.405.0 (20.3.405.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