# TXScan (functions)

- [BIN_fnc_clearTXScan](../../functions/BIN_fnc_clearTXScan.md): Clears TXScan drawing
- [BIN_fnc_createTXScan](../../functions/BIN_fnc_createTXScan.md): Creates a scan with the name defined as class in CfgTXScans or from given params. If name doesn't exists in config and params are not provided, default scan is created which could be tweaked later
- [BIN_fnc_cropTXScan](../../functions/BIN_fnc_cropTXScan.md): Crops given scan
- [BIN_fnc_deleteTXScan](../../functions/BIN_fnc_deleteTXScan.md): Deletes scan with given name from extension and the map
- [BIN_fnc_diag_TXScan](../../functions/BIN_fnc_diag_TXScan.md): Adds user action menu to the player with different TXScan diag options
- [BIN_fnc_drawTXScan](../../functions/BIN_fnc_drawTXScan.md): Draws TXScan with given name
- [BIN_fnc_getAllTXScans](../../functions/BIN_fnc_getAllTXScans.md): Returns array of names of all TXScans stored in extension
- [BIN_fnc_getTXScanAngle](../../functions/BIN_fnc_getTXScanAngle.md): Returns TXScan angle
- [BIN_fnc_getTXScanDrawData](../../functions/BIN_fnc_getTXScanDrawData.md): Returns draw data for given TXScan
- [BIN_fnc_getTXScanPolygon](../../functions/BIN_fnc_getTXScanPolygon.md): Returns current intersection polygon for given scan
- [BIN_fnc_getTXScanPolygonDetails](../../functions/BIN_fnc_getTXScanPolygonDetails.md): Returns estimated area and perimeter of the given scan polygon
- [BIN_fnc_getTXScanPosition](../../functions/BIN_fnc_getTXScanPosition.md): Gets stored TXScan transmitter position
- [BIN_fnc_getTXScanPrecision](../../functions/BIN_fnc_getTXScanPrecision.md): Returns stored TXScan precision
- [BIN_fnc_getTXScanSaveData](../../functions/BIN_fnc_getTXScanSaveData.md): Returns array with given TXScan data which is used for saving/loading
- [BIN_fnc_getTXScanWorldBounds](../../functions/BIN_fnc_getTXScanWorldBounds.md): Returns currently set boundaries of active area
- [BIN_fnc_loadTXScanState](../../functions/BIN_fnc_loadTXScanState.md): Loads TXScan data from global saved variables into extension
- [BIN_fnc_preInitTXScan](../../functions/BIN_fnc_preInitTXScan.md): Should be called from preInit, contains saving/loading functions as well as default initisalization
- [BIN_fnc_saveTXScanState](../../functions/BIN_fnc_saveTXScanState.md): Saves TXScan data into global variables so that it can be serialised and then loaded from game save when needed
- [BIN_fnc_scanTX](../../functions/BIN_fnc_scanTX.md): Intersects current scan polygon (or map square if no scan exists) with triangle originated from RX position and returns the triangle
- [BIN_fnc_setTXScanAngle](../../functions/BIN_fnc_setTXScanAngle.md): Sets TXScan angle
- [BIN_fnc_setTXScanPolygon](../../functions/BIN_fnc_setTXScanPolygon.md): Pre-sets intersection polygon for given scan. Can only be done with newly created scans since once the first scan is made, the polygon cannot be overwritten
- [BIN_fnc_setTXScanPosition](../../functions/BIN_fnc_setTXScanPosition.md): Sets TXScan transmitter position
- [BIN_fnc_setTXScanPrecision](../../functions/BIN_fnc_setTXScanPrecision.md): Sets TXScan precision
- [BIN_fnc_setTXScanWorldBounds](../../functions/BIN_fnc_setTXScanWorldBounds.md): Sets map bounds in which scans could be carried out. Default [0,0,worldSize,worldSize]
- [BIN_fnc_updateTXScanDrawData](../../functions/BIN_fnc_updateTXScanDrawData.md): Retrieves draw data for TXScan and updates drawing
