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.2.419.0 (24.2.419.0)
Syntax public 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: SystemDouble
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