Click or drag to resize

ThirdBodyGravityIndexOf 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: 24.2.419.0 (24.2.419.0)
Syntax
public int IndexOf(
	string name
)

Parameters

name
Type: SystemString
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