public class BeamAntennaPattern
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected float |
azimuthBeamwidth |
protected EulerAngles |
beamDirection
The rotation that transforms the reference coordinate sytem into the beam coordinate system.
|
protected float |
elevationBeamwidth |
protected float |
ex
This field shall specify the magnitude of the X-component (in beam coordinates) of the Electri- cal field at some arbitrary single point in the main beam and in the far field of the antenna.
|
protected float |
ez
This field shall specify the magnitude of the Z-component (in beam coordinates) of the Electrical field at some arbitrary single point in the main beam and in the far field of the antenna.
|
protected byte |
padding1 |
protected short |
padding2 |
protected int |
padding3
padding
|
protected float |
phase
This field shall specify the phase angle between EZ and EX in radians.
|
protected TransmitterAntennaPatternReferenceSystem |
referenceSystem
uid 168
|
Constructor and Description |
---|
BeamAntennaPattern()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsImpl(java.lang.Object obj)
Compare all fields that contribute to the state, ignoring
transient and static fields, for
this and the supplied object |
float |
getAzimuthBeamwidth()
Getter for
azimuthBeamwidth |
EulerAngles |
getBeamDirection()
Getter for
beamDirection |
float |
getElevationBeamwidth()
Getter for
elevationBeamwidth |
float |
getEx()
Getter for
ex |
float |
getEz()
Getter for
ez |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
byte |
getPadding1()
Getter for
padding1 |
short |
getPadding2()
Getter for
padding2 |
int |
getPadding3()
Getter for
padding3 |
float |
getPhase()
Getter for
phase |
TransmitterAntennaPatternReferenceSystem |
getReferenceSystem()
Getter for
referenceSystem |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
BeamAntennaPattern |
setAzimuthBeamwidth(float pAzimuthBeamwidth)
Setter for
azimuthBeamwidth |
BeamAntennaPattern |
setBeamDirection(EulerAngles pBeamDirection)
Setter for
beamDirection |
BeamAntennaPattern |
setElevationBeamwidth(float pElevationBeamwidth)
Setter for
elevationBeamwidth |
BeamAntennaPattern |
setEx(float pEx)
Setter for
ex |
BeamAntennaPattern |
setEz(float pEz)
Setter for
ez |
BeamAntennaPattern |
setPadding1(byte pPadding1)
Setter for
padding1 |
BeamAntennaPattern |
setPadding2(short pPadding2)
Setter for
padding2 |
BeamAntennaPattern |
setPadding3(int pPadding3)
Setter for
padding3 |
BeamAntennaPattern |
setPhase(float pPhase)
Setter for
phase |
BeamAntennaPattern |
setReferenceSystem(TransmitterAntennaPatternReferenceSystem pReferenceSystem)
Setter for
referenceSystem |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.
|
protected EulerAngles beamDirection
protected float azimuthBeamwidth
protected float elevationBeamwidth
protected TransmitterAntennaPatternReferenceSystem referenceSystem
protected byte padding1
protected short padding2
protected float ez
protected float ex
protected float phase
protected int padding3
public int getMarshalledSize()
public BeamAntennaPattern setBeamDirection(EulerAngles pBeamDirection)
beamDirection
public EulerAngles getBeamDirection()
beamDirection
public BeamAntennaPattern setAzimuthBeamwidth(float pAzimuthBeamwidth)
azimuthBeamwidth
public float getAzimuthBeamwidth()
azimuthBeamwidth
public BeamAntennaPattern setElevationBeamwidth(float pElevationBeamwidth)
elevationBeamwidth
public float getElevationBeamwidth()
elevationBeamwidth
public BeamAntennaPattern setReferenceSystem(TransmitterAntennaPatternReferenceSystem pReferenceSystem)
referenceSystem
public TransmitterAntennaPatternReferenceSystem getReferenceSystem()
referenceSystem
public BeamAntennaPattern setPadding1(byte pPadding1)
padding1
public byte getPadding1()
padding1
public BeamAntennaPattern setPadding2(short pPadding2)
padding2
public short getPadding2()
padding2
public BeamAntennaPattern setEz(float pEz)
ez
public float getEz()
ez
public BeamAntennaPattern setEx(float pEx)
ex
public float getEx()
ex
public BeamAntennaPattern setPhase(float pPhase)
phase
public float getPhase()
phase
public BeamAntennaPattern setPadding3(int pPadding3)
padding3
public int getPadding3()
padding3
public void marshal(java.io.DataOutputStream dos)
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyjava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smalljava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equalsImpl(java.lang.Object obj)
this
and the supplied objectobj
- the object to compare to