edu.nps.moves.dis7mobile
Class DirectedEnergyPrecisionAimpoint

java.lang.Object
  extended by edu.nps.moves.dis7mobile.DirectedEnergyPrecisionAimpoint
All Implemented Interfaces:
java.io.Serializable

public class DirectedEnergyPrecisionAimpoint
extends java.lang.Object
implements java.io.Serializable

DE Precision Aimpoint Record. Section 6.2.21.3 Copyright (c) 2008-2010, MOVES Institute, Naval Postgraduate School. All rights reserved. This work is licensed under the BSD open source license, available at https://www.movesinstitute.org/licenses/bsd.html

Author:
DMcG
See Also:
Serialized Form

Field Summary
protected  float BeamSpotCrossSectionOrientAngle
          Beam Spot Cross Section Orientation Angle.
protected  float BeamSpotCrossSectionSemiMinorAxis
          Beam Spot Cross Section Semi-Major Axis.
protected  float BeamSpotXSecSemiMajorAxis
          Beam Spot Cross Section Semi-Major Axis.
protected  int padding
          Padding
protected  int recordLength
          Length of Record
protected  long recordType
          Type of Record
protected  short SpotShape
          Spot Shape ENUM.
protected  short 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 Summary
DirectedEnergyPrecisionAimpoint()
          Constructor
 
Method Summary
 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 getBeamSpotCrossSectionOrientAngle()
           
 float getBeamSpotCrossSectionSemiMinorAxis()
           
 float getBeamSpotXSecSemiMajorAxis()
           
 int getMarshalledSize()
           
 int getPadding()
           
 int getRecordLength()
           
 long getRecordType()
           
 short getSpotShape()
           
 short getTargetComponentID()
           
 EntityID getTargetEntityID()
           
 Vector3Float getTargetSpotAcceleration()
           
 Vector3Float getTargetSpotEntityLocation()
           
 Vector3Double getTargetSpotLocation()
           
 Vector3Float getTargetSpotVelocity()
           
 void marshal(java.nio.ByteBuffer buff)
          Packs a Pdu into the ByteBuffer.
 void marshal(java.io.DataOutputStream dos)
           
 void setBeamSpotCrossSectionOrientAngle(float pBeamSpotCrossSectionOrientAngle)
           
 void setBeamSpotCrossSectionSemiMinorAxis(float pBeamSpotCrossSectionSemiMinorAxis)
           
 void setBeamSpotXSecSemiMajorAxis(float pBeamSpotXSecSemiMajorAxis)
           
 void setPadding(int pPadding)
           
 void setRecordLength(int pRecordLength)
           
 void setRecordType(long pRecordType)
           
 void setSpotShape(short pSpotShape)
           
 void setTargetComponentID(short pTargetComponentID)
           
 void setTargetEntityID(EntityID pTargetEntityID)
           
 void setTargetSpotAcceleration(Vector3Float pTargetSpotAcceleration)
           
 void setTargetSpotEntityLocation(Vector3Float pTargetSpotEntityLocation)
           
 void setTargetSpotLocation(Vector3Double pTargetSpotLocation)
           
 void setTargetSpotVelocity(Vector3Float pTargetSpotVelocity)
           
 void unmarshal(java.nio.ByteBuffer buff)
          Unpacks a Pdu from the underlying data.
 void unmarshal(java.io.DataInputStream dis)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recordType

protected long recordType
Type of Record


recordLength

protected int recordLength
Length of Record


padding

protected int padding
Padding


targetSpotLocation

protected Vector3Double targetSpotLocation
Position of Target Spot in World Coordinates.


targetSpotEntityLocation

protected Vector3Float targetSpotEntityLocation
Position (meters) of Target Spot relative to Entity Position.


targetSpotVelocity

protected Vector3Float targetSpotVelocity
Velocity (meters/sec) of Target Spot.


targetSpotAcceleration

protected Vector3Float targetSpotAcceleration
Acceleration (meters/sec/sec) of Target Spot.


targetEntityID

protected EntityID targetEntityID
Unique ID of the target entity.


targetComponentID

protected short targetComponentID
Target Component ID ENUM, same as in DamageDescriptionRecord.


SpotShape

protected short SpotShape
Spot Shape ENUM.


BeamSpotXSecSemiMajorAxis

protected float BeamSpotXSecSemiMajorAxis
Beam Spot Cross Section Semi-Major Axis.


BeamSpotCrossSectionSemiMinorAxis

protected float BeamSpotCrossSectionSemiMinorAxis
Beam Spot Cross Section Semi-Major Axis.


BeamSpotCrossSectionOrientAngle

protected float BeamSpotCrossSectionOrientAngle
Beam Spot Cross Section Orientation Angle.

Constructor Detail

DirectedEnergyPrecisionAimpoint

public DirectedEnergyPrecisionAimpoint()
Constructor

Method Detail

getMarshalledSize

public int getMarshalledSize()

setRecordType

public void setRecordType(long pRecordType)

getRecordType

public long getRecordType()

setRecordLength

public void setRecordLength(int pRecordLength)

getRecordLength

public int getRecordLength()

setPadding

public void setPadding(int pPadding)

getPadding

public int getPadding()

setTargetSpotLocation

public void setTargetSpotLocation(Vector3Double pTargetSpotLocation)

getTargetSpotLocation

public Vector3Double getTargetSpotLocation()

setTargetSpotEntityLocation

public void setTargetSpotEntityLocation(Vector3Float pTargetSpotEntityLocation)

getTargetSpotEntityLocation

public Vector3Float getTargetSpotEntityLocation()

setTargetSpotVelocity

public void setTargetSpotVelocity(Vector3Float pTargetSpotVelocity)

getTargetSpotVelocity

public Vector3Float getTargetSpotVelocity()

setTargetSpotAcceleration

public void setTargetSpotAcceleration(Vector3Float pTargetSpotAcceleration)

getTargetSpotAcceleration

public Vector3Float getTargetSpotAcceleration()

setTargetEntityID

public void setTargetEntityID(EntityID pTargetEntityID)

getTargetEntityID

public EntityID getTargetEntityID()

setTargetComponentID

public void setTargetComponentID(short pTargetComponentID)

getTargetComponentID

public short getTargetComponentID()

setSpotShape

public void setSpotShape(short pSpotShape)

getSpotShape

public short getSpotShape()

setBeamSpotXSecSemiMajorAxis

public void setBeamSpotXSecSemiMajorAxis(float pBeamSpotXSecSemiMajorAxis)

getBeamSpotXSecSemiMajorAxis

public float getBeamSpotXSecSemiMajorAxis()

setBeamSpotCrossSectionSemiMinorAxis

public void setBeamSpotCrossSectionSemiMinorAxis(float pBeamSpotCrossSectionSemiMinorAxis)

getBeamSpotCrossSectionSemiMinorAxis

public float getBeamSpotCrossSectionSemiMinorAxis()

setBeamSpotCrossSectionOrientAngle

public void setBeamSpotCrossSectionOrientAngle(float pBeamSpotCrossSectionOrientAngle)

getBeamSpotCrossSectionOrientAngle

public float getBeamSpotCrossSectionOrientAngle()

marshal

public void marshal(java.io.DataOutputStream dos)

unmarshal

public void unmarshal(java.io.DataInputStream dis)

marshal

public void marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.

Parameters:
buff - The ByteBuffer at the position to begin writing
Throws:
java.nio.BufferOverflowException - if buff is too small
java.nio.ReadOnlyBufferException - if buff is read only
Since:
??
See Also:
ByteBuffer

unmarshal

public void unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.

Parameters:
buff - The ByteBuffer at the position to begin reading
Throws:
java.nio.BufferUnderflowException - if buff is too small
Since:
??
See Also:
ByteBuffer

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

equalsImpl

public 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

Parameters:
obj - the object to compare to
Returns:
true if the objects are equal, false otherwise.