PencilBeamGainPatternConfigureMainLobeGainAndBeamwidth Method  | 
 
            Helper function for configuring the side lobe gain for a given main lobe gain and desired beamwidth.
            
 
    Namespace: 
   AGI.Foundation.Communications.Antennas
    Assembly:
   AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic void ConfigureMainLobeGainAndBeamwidth(
	double mainLobeGain,
	double beamwidth
)
Public Sub ConfigureMainLobeGainAndBeamwidth ( 
	mainLobeGain As Double,
	beamwidth As Double
)
public:
void ConfigureMainLobeGainAndBeamwidth(
	double mainLobeGain, 
	double beamwidth
)
member ConfigureMainLobeGainAndBeamwidth : 
        mainLobeGain : float * 
        beamwidth : float -> unit 
Parameters
- mainLobeGain
 - Type: SystemDouble
The pencil beam main lobe gain. - beamwidth
 - Type: SystemDouble
The desired beamwidth of the pencil beam antenna, in radians. 
Exceptions| Exception | Condition | 
|---|
| ArgumentException | 
            Thrown when beamwidth is less than or equal to 0.0 or greater than π/2 radians,
            or mainLobeGain is less than or equal to 1.0.
             | 
See Also