Missile#

class ansys.stk.core.stkobjects.Missile#

Bases: ISTKObject, ILifetimeInformation, IProvideSpatialInfo

Missile object.

Overview#

is_attitude_type_supported

Get a value indicating whether the specified type can be used.

is_trajectory_type_supported

Get a value indicating whether the specified type can be used.

set_attitude_type

Set the type of attitude profile used by the missile.

set_trajectory_type

Set the propagator type.

access_constraints

Get the constraints imposed on the missile.

atmosphere

Do not use this property, as it is deprecated. The new RFEnvironment property can be used to configure atmospheric models.

attitude

Get the missile’s attitude profile.

attitude_supported_types

Return an array of valid choices.

attitude_type

Get the type of attitude profile used by the missile.

eclipse_bodies

Get the customized list of Eclipse Bodies, which are central bodies used in lighting computations.

export_tools

Return the MissileExportTools interface.

get_eoir_settings

Get the EOIR properties of the missile.

graphics

Get the missile’s 2D Graphics properties.

graphics_3d

Get the missile’s 3D Graphics properties.

ground_ellipses

Get the missile’s ground ellipses properties.

laser_environment

Get the laser environment.

lighting_maximum_step

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.

lighting_maximum_step_central_body_shape

Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is false. Uses Time Dimension.

lighting_maximum_step_terrain

Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension.

radar_clutter_map

Return the radar clutter map.

radar_cross_section

Return the radar cross sectoin.

rf_environment

Get the RF environment.

space_environment

Return the missile’s SpaceEnvironment properties.

trajectory

Get the missile’s trajectory properties.

trajectory_supported_types

Return an array of valid choices.

trajectory_type

Get the propagator type used by the missile.

use_terrain_in_lighting_computations

Opt whether to compute lighting using terrain data.

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.access_constraints: AccessConstraintCollection#

Get the constraints imposed on the missile.

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.attitude: IVehicleAttitude#

Get the missile’s attitude profile.

property Missile.attitude_supported_types: list#

Return an array of valid choices.

property Missile.attitude_type: VehicleAttitude#

Get the type of attitude profile used by the missile.

property Missile.eclipse_bodies: VehicleEclipseBodies#

Get the customized list of Eclipse Bodies, which are central bodies used in lighting computations.

property Missile.export_tools: MissileExportTools#

Return the MissileExportTools interface.

property Missile.get_eoir_settings: IEOIR#

Get the EOIR properties of the missile.

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.laser_environment: PlatformLaserEnvironment#

Get the laser environment.

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.lighting_maximum_step_central_body_shape: float#

Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is false. Uses Time Dimension.

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.

property Missile.radar_clutter_map: IRadarClutterMapInheritable#

Return the radar clutter map.

property Missile.radar_cross_section: RadarCrossSectionInheritable#

Return the radar cross sectoin.

property Missile.rf_environment: IPlatformRFEnvironment#

Get the RF environment.

property Missile.space_environment: SpaceEnvironment#

Return the missile’s SpaceEnvironment properties.

property Missile.trajectory: IPropagator#

Get the missile’s trajectory properties.

property Missile.trajectory_supported_types: list#

Return an array of valid choices.

property Missile.trajectory_type: PropagatorType#

Get the propagator type used by the missile.

property Missile.use_terrain_in_lighting_computations: bool#

Opt whether to compute lighting using terrain data.

Method detail#

Missile.is_attitude_type_supported(self, attitude: VehicleAttitude) bool#

Get a value indicating whether the specified type can be used.

Parameters:

attitude : VehicleAttitude

Returns:

bool

Missile.is_trajectory_type_supported(self, propagator: PropagatorType) bool#

Get a value indicating whether the specified type can be used.

Parameters:

propagator : PropagatorType

Returns:

bool

Missile.set_attitude_type(self, attitude: VehicleAttitude) None#

Set the type of attitude profile used by the missile.

Parameters:

attitude : VehicleAttitude

Returns:

None

Missile.set_trajectory_type(self, propagator: PropagatorType) None#

Set the propagator type.

Parameters:

propagator : PropagatorType

Returns:

None