Missile#
- class ansys.stk.core.stkobjects.Missile#
Bases:
ISTKObject
,ILifetimeInformation
,IProvideSpatialInfo
Missile object.
Overview#
Set the propagator type. |
|
Get a value indicating whether the specified type can be used. |
|
Set the type of attitude profile used by the missile. |
|
Get a value indicating whether the specified type can be used. |
Get the propagator type used by the missile. |
|
Return an array of valid choices. |
|
Get the missileβs trajectory properties. |
|
Get the type of attitude profile used by the missile. |
|
Return an array of valid choices. |
|
Get the missileβs attitude profile. |
|
Get the missileβs 2D Graphics properties. |
|
Get the missileβs 3D Graphics properties. |
|
Get the missileβs ground ellipses properties. |
|
Get the constraints imposed on the missile. |
|
Return the MissileExportTools interface. |
|
Return the missileβs SpaceEnvironment properties. |
|
Do not use this property, as it is deprecated. The new RFEnvironment property can be used to configure atmospheric models. |
|
Return the radar clutter map. |
|
Return the radar cross sectoin. |
|
Get the customized list of Eclipse Bodies, which are central bodies used in lighting computations. |
|
Opt whether to compute lighting using terrain data. |
|
Do not use this property, as it is deprecated. Use LightingMaxStepTerrain or LightingMaxStepCbShape as appropriate. The maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension. |
|
Get the laser environment. |
|
Get the RF environment. |
|
Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension. |
|
Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is false. Uses Time Dimension. |
|
Get the EOIR properties of the missile. |
Examples#
Create a New Missile (on the current scenario central body)
# Scenario scenario: Scenario object
missile = scenario.children.new(STKObjectType.MISSILE, "MyMissile")
missile.set_trajectory_type(PropagatorType.BALLISTIC)
trajectory = missile.trajectory
root.units_preferences.set_current_unit("DateFormat", "EpSec")
trajectory.ephemeris_interval.set_explicit_interval(0, 0) # stop time later computed based on propagation
trajectory.launch.latitude = 29
trajectory.launch.longitude = -81
trajectory.impact_location.impact.latitude = 27
trajectory.impact_location.impact.longitude = -43
trajectory.impact_location.set_launch_control_type(VehicleLaunchControl.FIXED_APOGEE_ALTITUDE)
trajectory.impact_location.launch_control.apogee_altitude = 1200 # km
trajectory.propagate()
Import detail#
from ansys.stk.core.stkobjects import Missile
Property detail#
- property Missile.trajectory_type: PropagatorType#
Get the propagator type used by the missile.
- property Missile.trajectory: IPropagator#
Get the missileβs trajectory properties.
- property Missile.attitude_type: VehicleAttitude#
Get the type of attitude profile used by the missile.
- property Missile.attitude: IVehicleAttitude#
Get the missileβs attitude profile.
- property Missile.graphics: MissileGraphics#
Get the missileβs 2D Graphics properties.
- property Missile.graphics_3d: MissileGraphics3D#
Get the missileβs 3D Graphics properties.
- property Missile.ground_ellipses: VehicleGroundEllipsesCollection#
Get the missileβs ground ellipses properties.
- property Missile.access_constraints: AccessConstraintCollection#
Get the constraints imposed on the missile.
- property Missile.export_tools: MissileExportTools#
Return the MissileExportTools interface.
- property Missile.space_environment: SpaceEnvironment#
Return the missileβs SpaceEnvironment properties.
- property Missile.atmosphere: Atmosphere#
Do not use this property, as it is deprecated. The new RFEnvironment property can be used to configure atmospheric models.
- property Missile.radar_clutter_map: IRadarClutterMapInheritable#
Return the radar clutter map.
- property Missile.radar_cross_section: RadarCrossSectionInheritable#
Return the radar cross sectoin.
- property Missile.eclipse_bodies: VehicleEclipseBodies#
Get the customized list of Eclipse Bodies, which are central bodies used in lighting computations.
- property Missile.use_terrain_in_lighting_computations: bool#
Opt whether to compute lighting using terrain data.
- property Missile.lighting_maximum_step: float#
Do not use this property, as it is deprecated. Use LightingMaxStepTerrain or LightingMaxStepCbShape as appropriate. The maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension.
- property Missile.laser_environment: PlatformLaserEnvironment#
Get the laser environment.
- property Missile.rf_environment: IPlatformRFEnvironment#
Get the RF environment.
- property Missile.lighting_maximum_step_terrain: float#
Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension.
Method detail#
- Missile.set_trajectory_type(self, propagator: PropagatorType) None #
Set the propagator type.
- Parameters:
propagator :
PropagatorType
- Returns:
- Missile.is_trajectory_type_supported(self, propagator: PropagatorType) bool #
Get a value indicating whether the specified type can be used.
- Parameters:
propagator :
PropagatorType
- Returns:
- Missile.set_attitude_type(self, attitude: VehicleAttitude) None #
Set the type of attitude profile used by the missile.
- Parameters:
attitude :
VehicleAttitude
- Returns:
- Missile.is_attitude_type_supported(self, attitude: VehicleAttitude) bool #
Get a value indicating whether the specified type can be used.
- Parameters:
attitude :
VehicleAttitude
- Returns: