Missile ======= .. py:class:: ansys.stk.core.stkobjects.Missile Bases: :py:class:`~ansys.stk.core.stkobjects.ISTKObject`, :py:class:`~ansys.stk.core.stkobjects.ILifetimeInformation`, :py:class:`~ansys.stk.core.stkobjects.IProvideSpatialInfo` Missile object. .. py:currentmodule:: Missile Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~ansys.stk.core.stkobjects.Missile.is_attitude_type_supported` - Get a value indicating whether the specified type can be used. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.is_trajectory_type_supported` - Get a value indicating whether the specified type can be used. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.set_attitude_type` - Set the type of attitude profile used by the missile. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.set_trajectory_type` - Set the propagator type. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~ansys.stk.core.stkobjects.Missile.access_constraints` - Get the constraints imposed on the missile. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.atmosphere` - Do not use this property, as it is deprecated. The new RFEnvironment property can be used to configure atmospheric models. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.attitude` - Get the missile's attitude profile. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.attitude_supported_types` - Return an array of valid choices. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.attitude_type` - Get the type of attitude profile used by the missile. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.eclipse_bodies` - Get the customized list of Eclipse Bodies, which are central bodies used in lighting computations. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.export_tools` - Return the MissileExportTools interface. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.get_eoir_settings` - Get the EOIR properties of the missile. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.graphics` - Get the missile's 2D Graphics properties. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.graphics_3d` - Get the missile's 3D Graphics properties. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.ground_ellipses` - Get the missile's ground ellipses properties. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.laser_environment` - Get the laser environment. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.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. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.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. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.lighting_maximum_step_terrain` - Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.radar_clutter_map` - Return the radar clutter map. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.radar_cross_section` - Return the radar cross sectoin. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.rf_environment` - Get the RF environment. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.space_environment` - Return the missile's SpaceEnvironment properties. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.trajectory` - Get the missile's trajectory properties. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.trajectory_supported_types` - Return an array of valid choices. * - :py:attr:`~ansys.stk.core.stkobjects.Missile.trajectory_type` - Get the propagator type used by the missile. * - :py:attr:`~ansys.stk.core.stkobjects.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) .. code-block:: python # 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 ------------- .. code-block:: python from ansys.stk.core.stkobjects import Missile Property detail --------------- .. py:property:: access_constraints :canonical: ansys.stk.core.stkobjects.Missile.access_constraints :type: AccessConstraintCollection Get the constraints imposed on the missile. .. py:property:: atmosphere :canonical: ansys.stk.core.stkobjects.Missile.atmosphere :type: Atmosphere Do not use this property, as it is deprecated. The new RFEnvironment property can be used to configure atmospheric models. .. py:property:: attitude :canonical: ansys.stk.core.stkobjects.Missile.attitude :type: IVehicleAttitude Get the missile's attitude profile. .. py:property:: attitude_supported_types :canonical: ansys.stk.core.stkobjects.Missile.attitude_supported_types :type: list Return an array of valid choices. .. py:property:: attitude_type :canonical: ansys.stk.core.stkobjects.Missile.attitude_type :type: VehicleAttitude Get the type of attitude profile used by the missile. .. py:property:: eclipse_bodies :canonical: ansys.stk.core.stkobjects.Missile.eclipse_bodies :type: VehicleEclipseBodies Get the customized list of Eclipse Bodies, which are central bodies used in lighting computations. .. py:property:: export_tools :canonical: ansys.stk.core.stkobjects.Missile.export_tools :type: MissileExportTools Return the MissileExportTools interface. .. py:property:: get_eoir_settings :canonical: ansys.stk.core.stkobjects.Missile.get_eoir_settings :type: IEOIR Get the EOIR properties of the missile. .. py:property:: graphics :canonical: ansys.stk.core.stkobjects.Missile.graphics :type: MissileGraphics Get the missile's 2D Graphics properties. .. py:property:: graphics_3d :canonical: ansys.stk.core.stkobjects.Missile.graphics_3d :type: MissileGraphics3D Get the missile's 3D Graphics properties. .. py:property:: ground_ellipses :canonical: ansys.stk.core.stkobjects.Missile.ground_ellipses :type: VehicleGroundEllipsesCollection Get the missile's ground ellipses properties. .. py:property:: laser_environment :canonical: ansys.stk.core.stkobjects.Missile.laser_environment :type: PlatformLaserEnvironment Get the laser environment. .. py:property:: lighting_maximum_step :canonical: ansys.stk.core.stkobjects.Missile.lighting_maximum_step :type: 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. .. py:property:: lighting_maximum_step_central_body_shape :canonical: ansys.stk.core.stkobjects.Missile.lighting_maximum_step_central_body_shape :type: float Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is false. Uses Time Dimension. .. py:property:: lighting_maximum_step_terrain :canonical: ansys.stk.core.stkobjects.Missile.lighting_maximum_step_terrain :type: float Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension. .. py:property:: radar_clutter_map :canonical: ansys.stk.core.stkobjects.Missile.radar_clutter_map :type: IRadarClutterMapInheritable Return the radar clutter map. .. py:property:: radar_cross_section :canonical: ansys.stk.core.stkobjects.Missile.radar_cross_section :type: RadarCrossSectionInheritable Return the radar cross sectoin. .. py:property:: rf_environment :canonical: ansys.stk.core.stkobjects.Missile.rf_environment :type: IPlatformRFEnvironment Get the RF environment. .. py:property:: space_environment :canonical: ansys.stk.core.stkobjects.Missile.space_environment :type: SpaceEnvironment Return the missile's SpaceEnvironment properties. .. py:property:: trajectory :canonical: ansys.stk.core.stkobjects.Missile.trajectory :type: IPropagator Get the missile's trajectory properties. .. py:property:: trajectory_supported_types :canonical: ansys.stk.core.stkobjects.Missile.trajectory_supported_types :type: list Return an array of valid choices. .. py:property:: trajectory_type :canonical: ansys.stk.core.stkobjects.Missile.trajectory_type :type: PropagatorType Get the propagator type used by the missile. .. py:property:: use_terrain_in_lighting_computations :canonical: ansys.stk.core.stkobjects.Missile.use_terrain_in_lighting_computations :type: bool Opt whether to compute lighting using terrain data. Method detail ------------- .. py:method:: is_attitude_type_supported(self, attitude: VehicleAttitude) -> bool :canonical: ansys.stk.core.stkobjects.Missile.is_attitude_type_supported Get a value indicating whether the specified type can be used. :Parameters: **attitude** : :obj:`~VehicleAttitude` :Returns: :obj:`~bool` .. py:method:: is_trajectory_type_supported(self, propagator: PropagatorType) -> bool :canonical: ansys.stk.core.stkobjects.Missile.is_trajectory_type_supported Get a value indicating whether the specified type can be used. :Parameters: **propagator** : :obj:`~PropagatorType` :Returns: :obj:`~bool` .. py:method:: set_attitude_type(self, attitude: VehicleAttitude) -> None :canonical: ansys.stk.core.stkobjects.Missile.set_attitude_type Set the type of attitude profile used by the missile. :Parameters: **attitude** : :obj:`~VehicleAttitude` :Returns: :obj:`~None` .. py:method:: set_trajectory_type(self, propagator: PropagatorType) -> None :canonical: ansys.stk.core.stkobjects.Missile.set_trajectory_type Set the propagator type. :Parameters: **propagator** : :obj:`~PropagatorType` :Returns: :obj:`~None`