ThirdBodyFunction#
- class ansys.stk.core.stkobjects.astrogator.ThirdBodyFunction#
Bases:
IComponentInfo
,ICloneable
ThirdBody propagator function.
Overview#
Set the third body gravity mode. |
Get or set the selected third body model. |
|
Source for the third body’s ephemeris. |
|
Get the third body gravity mode. The IComponentInfo object returned by this property can be cast to GravityFieldFunction or PointMassFunction depending on the selected ModeType. |
|
Get the third body gravity mode type. |
|
Return a warning message if the Ephemeris source and the gravity are not compatible. |
Import detail#
from ansys.stk.core.stkobjects.astrogator import ThirdBodyFunction
Property detail#
- property ThirdBodyFunction.ephemeris_source: EphemerisSource#
Source for the third body’s ephemeris.
- property ThirdBodyFunction.mode: IComponentInfo#
Get the third body gravity mode. The IComponentInfo object returned by this property can be cast to GravityFieldFunction or PointMassFunction depending on the selected ModeType.
- property ThirdBodyFunction.mode_type: ThirdBodyMode#
Get the third body gravity mode type.
Method detail#
- ThirdBodyFunction.set_mode_type(self, mode: ThirdBodyMode) None #
Set the third body gravity mode.
- Parameters:
mode :
ThirdBodyMode
- Returns: