Declared in GlobalPositioningSystem
Declaration
int AddJammingEffect(
Vector3 jammerPositionEci,
double effectiveRadiatedPower,
Vector3 boresightDirectionEci,
double beamHalfAngle,
double pathLossExponent
);Description
Adds or overwrites a jammer slot on and enables the environment. Parallel arrays are grown if needed. Returns the slot index used.
Parameters
| Name | Description |
|---|---|
| jammerPositionEci | [m] Jammer phase centre in ECI. |
| effectiveRadiatedPower | [W] ERP (clamped to non-negative). |
| boresightDirectionEci | Jammer main-lobe axis in ECI; zero vector ⇒ isotropic. |
| beamHalfAngle | [deg] Half-power beam half-angle; ignored when boresight is zero. |
| pathLossExponent | Exponent p in 1/r^p coupling (clamped to [1.5, 4] when applied). |