Click or drag to resize

ThirdBodyGravity.IndexOf Method (String)

Searches ThirdBodies and returns the index of the body with the given body name.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public int IndexOf(
	string name
)

Parameters

name
Type: System.String
The body name for which to search.

Return Value

Type: Int32
The index of the body with the given name, if found; otherwise –1.
See Also