Click or drag to resize

ThirdBodyGravityIndexOf Method (Double)

Search the ThirdBodies to see if the given gravitational parameter 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(
	double gravitationalParameter
)

Parameters

gravitationalParameter
Type: SystemDouble
The gravitational parameter for which to search.

Return Value

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