public class LinearSegmentParameter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected ObjectStateAppearanceGeneral |
generalSegmentAppearance
general dynamic appearance attributes of the segment.
|
protected int |
padding
padding
|
protected float |
segmentDepth
The depth of the linear segment, in meters, below ground level
|
protected float |
segmentHeight
The height of the linear segment, in meters, above ground shall be specified by a 16-bit unsigned integer.
|
protected float |
segmentLength
length of the linear segment, in meters, extending in the positive X direction
|
protected Vector3Double |
segmentLocation
This field shall specify the location of the linear segment in the simulated world and shall be represented by a World Coordinates record
|
protected ObjectStateModificationLinearObject |
segmentModification
whether a modification has been made to the point object's location or orientation UID 241
|
protected byte |
segmentNumber
the individual segment of the linear segment
|
protected EulerAngles |
segmentOrientation
orientation of the linear segment about the segment location and shall be represented by a Euler Angles record
|
protected float |
segmentWidth
The total width of the linear segment, in meters, shall be specified by a 16-bit unsigned integer.
|
protected int |
specificSegmentAppearance
This field shall specify specific dynamic appearance attributes of the segment.
|
Constructor and Description |
---|
LinearSegmentParameter()
Constructor
|
protected byte segmentNumber
protected ObjectStateModificationLinearObject segmentModification
protected ObjectStateAppearanceGeneral generalSegmentAppearance
protected int specificSegmentAppearance
protected Vector3Double segmentLocation
protected EulerAngles segmentOrientation
protected float segmentLength
protected float segmentWidth
protected float segmentHeight
protected float segmentDepth
protected int padding
public int getMarshalledSize()
public LinearSegmentParameter setSegmentNumber(byte pSegmentNumber)
segmentNumber
public byte getSegmentNumber()
segmentNumber
public LinearSegmentParameter setSegmentModification(ObjectStateModificationLinearObject pSegmentModification)
segmentModification
public ObjectStateModificationLinearObject getSegmentModification()
segmentModification
public LinearSegmentParameter setGeneralSegmentAppearance(ObjectStateAppearanceGeneral pGeneralSegmentAppearance)
generalSegmentAppearance
public ObjectStateAppearanceGeneral getGeneralSegmentAppearance()
generalSegmentAppearance
public LinearSegmentParameter setSpecificSegmentAppearance(int pSpecificSegmentAppearance)
specificSegmentAppearance
public int getSpecificSegmentAppearance()
specificSegmentAppearance
public LinearSegmentParameter setSegmentLocation(Vector3Double pSegmentLocation)
segmentLocation
public Vector3Double getSegmentLocation()
segmentLocation
public LinearSegmentParameter setSegmentOrientation(EulerAngles pSegmentOrientation)
segmentOrientation
public EulerAngles getSegmentOrientation()
segmentOrientation
public LinearSegmentParameter setSegmentLength(float pSegmentLength)
segmentLength
public float getSegmentLength()
segmentLength
public LinearSegmentParameter setSegmentWidth(float pSegmentWidth)
segmentWidth
public float getSegmentWidth()
segmentWidth
public LinearSegmentParameter setSegmentHeight(float pSegmentHeight)
segmentHeight
public float getSegmentHeight()
segmentHeight
public LinearSegmentParameter setSegmentDepth(float pSegmentDepth)
segmentDepth
public float getSegmentDepth()
segmentDepth
public LinearSegmentParameter setPadding(int pPadding)
padding
public int getPadding()
padding
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