CentralBodyComponent#
- class ansys.stk.core.stkobjects.astrogator.CentralBodyComponent#
Bases:
IComponentInfo
,ICloneable
Central Body.
Overview#
Select a gravity model. |
|
Add a central body gravity model type. |
|
Remove a central body gravity model type. |
|
Select a central body shape. |
|
Add a central body shape type from the available types. |
|
Remove a central body shape type. |
|
Select a central body attitude. |
|
Add a central body attitude type from the available types. |
|
Remove a central body attitude type. |
|
Select an ephemeris type. |
|
Add an ephemeris type from the available types. |
|
Remove an ephemeris type. |
|
Copy a gravity model to the clipboard and removes it from the central body. |
|
Copy a gravity model to the clipboard. |
|
Add the gravity model in the clipboard to the central body. |
|
Add the gravity model to the central body. |
|
Copy a central body shape to the clipboard and removes it from the central body. |
|
Copy a central body shape to the clipboard. |
|
Add the central body shape in the clipboard to the central body. |
|
Add the central body shape to the central body. |
|
Copy a central body attitude definition to the clipboard and removes it from the central body. |
|
Copy a central body attitude definition to the clipboard. |
|
Add the central body attitude definition in the clipboard to the central body. |
|
Add the central body attitude definition to the central body. |
|
Copy a central body ephemeris definition to the clipboard and removes it from the central body. |
|
Copy a central body ephemeris definition to the clipboard. |
|
Add the central body ephemeris definition in the clipboard to the central body. |
|
Add the central body ephemeris definition to the central body. |
Get or set the gravitational parameter to be used. Uses Gravity Parameter Dimension. |
|
Get or set the parent of this central body. |
|
Get the children of this central body. |
|
Get the gravity model. |
|
Get the gravity model parameters. |
|
Get the shape of the central body. |
|
Get the parameters of the central body shape. |
|
Get the attitude of the central body. |
|
Get the parameters of the central body attitude. |
|
Get the ephemeris of the central body. |
|
Get the parameters of the central body ephemeris. |
Import detail#
from ansys.stk.core.stkobjects.astrogator import CentralBodyComponent
Property detail#
- property CentralBodyComponent.gravitational_parameter: float#
Get or set the gravitational parameter to be used. Uses Gravity Parameter Dimension.
- property CentralBodyComponent.children: CentralBodyComponentCollection#
Get the children of this central body.
- property CentralBodyComponent.default_gravity_model_data: CentralBodyComponentGravityModel#
Get the gravity model parameters.
- property CentralBodyComponent.default_shape_data: ICentralBodyComponentShape#
Get the parameters of the central body shape.
- property CentralBodyComponent.default_attitude_data: ICentralBodyComponentAttitude#
Get the parameters of the central body attitude.
- property CentralBodyComponent.default_ephemeris_data: ICentralBodyComponentEphemeris#
Get the parameters of the central body ephemeris.
Method detail#
- CentralBodyComponent.set_default_gravity_model_by_name(self, gravity_model_name: str) None #
Select a gravity model.
- CentralBodyComponent.add_gravity_model(self, gravity_model: CentralBodyGravityModel, unique_name: str) CentralBodyComponentGravityModel #
Add a central body gravity model type.
- Parameters:
gravity_model :
CentralBodyGravityModel
unique_name :
str
- Returns:
CentralBodyComponentGravityModel
- CentralBodyComponent.remove_gravity_model_by_name(self, gravity_model_name: str) None #
Remove a central body gravity model type.
- CentralBodyComponent.set_default_shape_by_name(self, shape_name: str) None #
Select a central body shape.
- CentralBodyComponent.add_shape(self, shape: CentralBodyShape, unique_name: str) ICentralBodyComponentShape #
Add a central body shape type from the available types.
- Parameters:
shape :
CentralBodyShape
unique_name :
str
- Returns:
ICentralBodyComponentShape
- CentralBodyComponent.remove_shape_by_name(self, shape_name: str) None #
Remove a central body shape type.
- CentralBodyComponent.set_default_attitude_by_name(self, attitude_name: str) None #
Select a central body attitude.
- CentralBodyComponent.add_attitude(self, attitude: CentralBodyAttitude, unique_name: str) ICentralBodyComponentAttitude #
Add a central body attitude type from the available types.
- Parameters:
attitude :
CentralBodyAttitude
unique_name :
str
- Returns:
ICentralBodyComponentAttitude
- CentralBodyComponent.remove_attitude_by_name(self, attitude_name: str) None #
Remove a central body attitude type.
- CentralBodyComponent.set_default_ephemeris_by_name(self, ephemeris_name: str) None #
Select an ephemeris type.
- CentralBodyComponent.add_ephemeris(self, ephemeris: CentralBodyEphemeris, unique_name: str) ICentralBodyComponentEphemeris #
Add an ephemeris type from the available types.
- Parameters:
ephemeris :
CentralBodyEphemeris
unique_name :
str
- Returns:
ICentralBodyComponentEphemeris
- CentralBodyComponent.remove_ephemeris_by_name(self, ephemeris_name: str) None #
Remove an ephemeris type.
- CentralBodyComponent.cut_gravity_model_by_name(self, gravity_model_name: str) None #
Copy a gravity model to the clipboard and removes it from the central body.
- CentralBodyComponent.copy_gravity_model_by_name(self, gravity_model_name: str) None #
Copy a gravity model to the clipboard.
- CentralBodyComponent.paste_gravity_model(self) CentralBodyComponentGravityModel #
Add the gravity model in the clipboard to the central body.
- Returns:
CentralBodyComponentGravityModel
- CentralBodyComponent.add_copy_of_gravity_model(self, gravity_model: CentralBodyComponentGravityModel) CentralBodyComponentGravityModel #
Add the gravity model to the central body.
- Parameters:
gravity_model :
CentralBodyComponentGravityModel
- Returns:
CentralBodyComponentGravityModel
- CentralBodyComponent.cut_shape_by_name(self, shape_name: str) None #
Copy a central body shape to the clipboard and removes it from the central body.
- CentralBodyComponent.copy_shape_by_name(self, shape_name: str) None #
Copy a central body shape to the clipboard.
- CentralBodyComponent.paste_shape(self) ICentralBodyComponentShape #
Add the central body shape in the clipboard to the central body.
- Returns:
ICentralBodyComponentShape
- CentralBodyComponent.add_copy_of_shape(self, shape: ICentralBodyComponentShape) ICentralBodyComponentShape #
Add the central body shape to the central body.
- Parameters:
shape :
ICentralBodyComponentShape
- Returns:
ICentralBodyComponentShape
- CentralBodyComponent.cut_attitude_by_name(self, attitude_name: str) None #
Copy a central body attitude definition to the clipboard and removes it from the central body.
- CentralBodyComponent.copy_attitude_by_name(self, attitude_name: str) None #
Copy a central body attitude definition to the clipboard.
- CentralBodyComponent.paste_attitude(self) ICentralBodyComponentAttitude #
Add the central body attitude definition in the clipboard to the central body.
- Returns:
ICentralBodyComponentAttitude
- CentralBodyComponent.add_copy_of_attitude(self, attitude: ICentralBodyComponentAttitude) ICentralBodyComponentAttitude #
Add the central body attitude definition to the central body.
- Parameters:
attitude :
ICentralBodyComponentAttitude
- Returns:
ICentralBodyComponentAttitude
- CentralBodyComponent.cut_ephemeris_by_name(self, ephemeris_name: str) None #
Copy a central body ephemeris definition to the clipboard and removes it from the central body.
- CentralBodyComponent.copy_ephemeris_by_name(self, ephemeris_name: str) None #
Copy a central body ephemeris definition to the clipboard.
- CentralBodyComponent.paste_ephemeris(self) ICentralBodyComponentEphemeris #
Add the central body ephemeris definition in the clipboard to the central body.
- Returns:
ICentralBodyComponentEphemeris
- CentralBodyComponent.add_copy_of_ephemeris(self, ephemeris: ICentralBodyComponentEphemeris) ICentralBodyComponentEphemeris #
Add the central body ephemeris definition to the central body.
- Parameters:
ephemeris :
ICentralBodyComponentEphemeris
- Returns:
ICentralBodyComponentEphemeris