SphericalTabularElectricFieldPattern Constructor (Double, Double, ElectricFieldVectorComponents) |
Initializes an instance given an array of clock angles, an array of cone angles, and a two-dimensional array of
ElectricFieldVectorComponents values. Clock angle is defined as the azimuth angle from the positive x-axis to the
orthogonal projection of the point in the x-y plane. Cone angle is defined as the zenith angle from the positive z-axis to the point. The electric field vector component
values array must be arranged such that the rows of the array represent clock angle cuts through the pattern and
the columns represent cone angle cuts. Therefore, the first dimension of the electric field vector component values array must be
the same size as the clock angles array and the second dimension of the electric field vector component values array must be the same
size as the cone angles array. If duplicate clock/cone angle points are found, the first one that is found will be kept and
subsequent clock/cone angle points are ignored. For example, if the clock angle array contains a value of 0 degrees and a value of 360 degrees (same cut through the
sphere) all of the cone angles at clock angle equal to 360 degrees will be ignored.
Namespace:
AGI.Foundation.Communications
Assembly:
AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public SphericalTabularElectricFieldPattern(
double[] clockAngleValues,
double[] coneAngleValues,
ElectricFieldVectorComponents[,] electricFieldComponents
)
Public Sub New (
clockAngleValues As Double(),
coneAngleValues As Double(),
electricFieldComponents As ElectricFieldVectorComponents(,)
)
public:
SphericalTabularElectricFieldPattern(
array<double>^ clockAngleValues,
array<double>^ coneAngleValues,
array<ElectricFieldVectorComponents,2>^ electricFieldComponents
)
new :
clockAngleValues : float[] *
coneAngleValues : float[] *
electricFieldComponents : ElectricFieldVectorComponents[,] -> SphericalTabularElectricFieldPattern
Parameters
- clockAngleValues
- Type: SystemDouble
An array of clock angles. Clock angle is defined as the azimuth angle from the positive x-axis to the orthogonal
projection of the point in the x-y plane.
- coneAngleValues
- Type: SystemDouble
An array of cone angles. Cone angle is defined as the zenith angle from the positive z-axis to the point.
- electricFieldComponents
- Type: AGI.Foundation.CommunicationsElectricFieldVectorComponents
A two-dimensional array of electric field vector component values.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown if clockAngleValues, coneAngleValues, or electricFieldComponents is .
|
ArgumentException |
Thrown in the following cases:
- the clockAngleValues or coneAngleValues array arguments length is less than or equal to 1.
- the clockAngleValues array argument length is not equal to the first dimension of the electricFieldComponents two-dimensional array.
- the coneAngleValues array argument length is not equal to the second dimension of the electricFieldComponents two-dimensional array
- there is less than 1 unique clock angle value in clockAngleValues.
- there is less than 1 unique cone angle value in coneAngleValues.
|
See Also