PropagatorHPOPThirdBodyGravityCollection#
- class ansys.stk.core.stkobjects.PropagatorHPOPThirdBodyGravityCollection#
Collection of third-body gravity options for the LOP propagator.
Overview#
Given an index, returns an element in the collection. |
|
Remove an element from the collection using specified index. |
|
Remove all elements from the collection. |
|
Add a new element to the collection. |
|
Remove an element from the collection. |
Return the number of elements in a collection. |
|
Return an enumerator that can iterate through the collection. |
|
Get the available third bodies. The return result is a collection of strings representing names of the central bodies that can be used as third body. |
Import detail#
from ansys.stk.core.stkobjects import PropagatorHPOPThirdBodyGravityCollection
Property detail#
- property PropagatorHPOPThirdBodyGravityCollection.count: int#
Return the number of elements in a collection.
- property PropagatorHPOPThirdBodyGravityCollection._new_enum: EnumeratorProxy#
Return an enumerator that can iterate through the collection.
Method detail#
- PropagatorHPOPThirdBodyGravityCollection.item(self, index: int) PropagatorHPOPThirdBodyGravityElement #
Given an index, returns an element in the collection.
- Parameters:
index :
int
- Returns:
PropagatorHPOPThirdBodyGravityElement
- PropagatorHPOPThirdBodyGravityCollection.remove_at(self, index: int) None #
Remove an element from the collection using specified index.
- PropagatorHPOPThirdBodyGravityCollection.remove_all(self) None #
Remove all elements from the collection.
- Returns:
- PropagatorHPOPThirdBodyGravityCollection.add_third_body(self, third_body: str) PropagatorHPOPThirdBodyGravityElement #
Add a new element to the collection.
- Parameters:
third_body :
str
- Returns:
PropagatorHPOPThirdBodyGravityElement