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)
Syntaxpublic int IndexOf(
double gravitationalParameter
)
Public Function IndexOf (
gravitationalParameter As Double
) As Integer
public:
int IndexOf(
double gravitationalParameter
)
member IndexOf :
gravitationalParameter : float -> int
Parameters
- gravitationalParameter
- Type: System.Double
The gravitational parameter for which to search.
Return Value
Type:
Int32The index of the body with the given gravitational parameter, if found; otherwise –1.
See Also