public class DirectedEnergyPrecisionAimpoint
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected float |
beamSpotCrossSectionOrientationAngle
Beam Spot Cross Section Orientation Angle.
|
protected float |
beamSpotCrossSectionSemiMajorAxis
Beam Spot Cross Section Semi-Major Axis.
|
protected float |
beamSpotCrossSectionSemiMinorAxis
Beam Spot Cross Section Semi-Major Axis.
|
protected DEPrecisionAimpointBeamSpotType |
beamSpotType
Spot Shape ENUM.
|
protected short |
padding
Padding
|
protected int |
padding2
padding
|
protected float |
peakIrradiance
Peak irradiance
|
protected short |
recordLength
Length of Record
|
protected int |
recordType
Type of Record
|
protected byte |
targetComponentID
Target Component ID ENUM, same as in DamageDescriptionRecord.
|
protected EntityID |
targetEntityID
Unique ID of the target entity.
|
protected Vector3Float |
targetSpotAcceleration
Acceleration (meters/sec/sec) of Target Spot.
|
protected Vector3Float |
targetSpotEntityLocation
Position (meters) of Target Spot relative to Entity Position.
|
protected Vector3Double |
targetSpotLocation
Position of Target Spot in World Coordinates.
|
protected Vector3Float |
targetSpotVelocity
Velocity (meters/sec) of Target Spot.
|
Constructor and Description |
---|
DirectedEnergyPrecisionAimpoint()
Constructor
|
protected int recordType
protected short recordLength
protected short padding
protected Vector3Double targetSpotLocation
protected Vector3Float targetSpotEntityLocation
protected Vector3Float targetSpotVelocity
protected Vector3Float targetSpotAcceleration
protected EntityID targetEntityID
protected byte targetComponentID
protected DEPrecisionAimpointBeamSpotType beamSpotType
protected float beamSpotCrossSectionSemiMajorAxis
protected float beamSpotCrossSectionSemiMinorAxis
protected float beamSpotCrossSectionOrientationAngle
protected float peakIrradiance
protected int padding2
public DirectedEnergyPrecisionAimpoint()
public int getMarshalledSize()
public DirectedEnergyPrecisionAimpoint setRecordType(int pRecordType)
recordType
public int getRecordType()
recordType
public DirectedEnergyPrecisionAimpoint setRecordLength(short pRecordLength)
recordLength
public short getRecordLength()
recordLength
public DirectedEnergyPrecisionAimpoint setPadding(short pPadding)
padding
public short getPadding()
padding
public DirectedEnergyPrecisionAimpoint setTargetSpotLocation(Vector3Double pTargetSpotLocation)
targetSpotLocation
public Vector3Double getTargetSpotLocation()
targetSpotLocation
public DirectedEnergyPrecisionAimpoint setTargetSpotEntityLocation(Vector3Float pTargetSpotEntityLocation)
targetSpotEntityLocation
public Vector3Float getTargetSpotEntityLocation()
targetSpotEntityLocation
public DirectedEnergyPrecisionAimpoint setTargetSpotVelocity(Vector3Float pTargetSpotVelocity)
targetSpotVelocity
public Vector3Float getTargetSpotVelocity()
targetSpotVelocity
public DirectedEnergyPrecisionAimpoint setTargetSpotAcceleration(Vector3Float pTargetSpotAcceleration)
targetSpotAcceleration
public Vector3Float getTargetSpotAcceleration()
targetSpotAcceleration
public DirectedEnergyPrecisionAimpoint setTargetEntityID(EntityID pTargetEntityID)
targetEntityID
public EntityID getTargetEntityID()
targetEntityID
public DirectedEnergyPrecisionAimpoint setTargetComponentID(byte pTargetComponentID)
targetComponentID
public byte getTargetComponentID()
targetComponentID
public DirectedEnergyPrecisionAimpoint setBeamSpotType(DEPrecisionAimpointBeamSpotType pBeamSpotType)
beamSpotType
public DEPrecisionAimpointBeamSpotType getBeamSpotType()
beamSpotType
public DirectedEnergyPrecisionAimpoint setBeamSpotCrossSectionSemiMajorAxis(float pBeamSpotCrossSectionSemiMajorAxis)
beamSpotCrossSectionSemiMajorAxis
public float getBeamSpotCrossSectionSemiMajorAxis()
beamSpotCrossSectionSemiMajorAxis
public DirectedEnergyPrecisionAimpoint setBeamSpotCrossSectionSemiMinorAxis(float pBeamSpotCrossSectionSemiMinorAxis)
beamSpotCrossSectionSemiMinorAxis
public float getBeamSpotCrossSectionSemiMinorAxis()
beamSpotCrossSectionSemiMinorAxis
public DirectedEnergyPrecisionAimpoint setBeamSpotCrossSectionOrientationAngle(float pBeamSpotCrossSectionOrientationAngle)
beamSpotCrossSectionOrientationAngle
public float getBeamSpotCrossSectionOrientationAngle()
beamSpotCrossSectionOrientationAngle
public DirectedEnergyPrecisionAimpoint setPeakIrradiance(float pPeakIrradiance)
peakIrradiance
public float getPeakIrradiance()
peakIrradiance
public DirectedEnergyPrecisionAimpoint setPadding2(int pPadding2)
padding2
public int getPadding2()
padding2
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