:orphan: .. **************************************************************************** .. CUI .. .. The Advanced Framework for Simulation, Integration, and Modeling (AFSIM) .. .. The use, dissemination or disclosure of data in this file is subject to .. limitation or restriction. See accompanying README and LICENSE for details. .. **************************************************************************** WsfThreatProcessor ------------------ .. class:: WsfThreatProcessor inherits WsfProcessor This is the script interface to the :model:`WSF_THREAT_PROCESSOR`. Currently, the list of threatening tracks is not accessible to script. Methods ======= .. method:: Array Threats( ) Returns the track Ids of all local tracks that are considered threatening according to the inputs given to the :model:`WSF_THREAT_PROCESSOR` such as threat_velocity, threat_angle_spread, and threat_time_to_intercept. .. method:: WsfTrack NearestThreat() Returns the closest local track to the processor's platform position that is considered threatening. To be considered a track must have a valid 3D location. Use :class:`IsValid() ` to verify value returned.