public class LinearSegmentParameter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
generalSegmentAppearance
general dynamic appearance attributes of the segment.
|
protected long |
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 short |
segmentModification
whether a modification has been made to the point object’s location or orientation
|
protected short |
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 long |
specificSegmentAppearance
This field shall specify specific dynamic appearance attributes of the segment.
|
Constructor and Description |
---|
LinearSegmentParameter()
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 |
int |
getGeneralSegmentAppearance() |
int |
getMarshalledSize() |
long |
getPadding() |
float |
getSegmentDepth() |
float |
getSegmentHeight() |
float |
getSegmentLength() |
Vector3Double |
getSegmentLocation() |
short |
getSegmentModification() |
short |
getSegmentNumber() |
EulerAngles |
getSegmentOrientation() |
float |
getSegmentWidth() |
long |
getSpecificSegmentAppearance() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setGeneralSegmentAppearance(int pGeneralSegmentAppearance) |
void |
setPadding(long pPadding) |
void |
setSegmentDepth(float pSegmentDepth) |
void |
setSegmentHeight(float pSegmentHeight) |
void |
setSegmentLength(float pSegmentLength) |
void |
setSegmentLocation(Vector3Double pSegmentLocation) |
void |
setSegmentModification(short pSegmentModification) |
void |
setSegmentNumber(short pSegmentNumber) |
void |
setSegmentOrientation(EulerAngles pSegmentOrientation) |
void |
setSegmentWidth(float pSegmentWidth) |
void |
setSpecificSegmentAppearance(long pSpecificSegmentAppearance) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
protected short segmentNumber
protected short segmentModification
protected int generalSegmentAppearance
protected long specificSegmentAppearance
protected Vector3Double segmentLocation
protected EulerAngles segmentOrientation
protected float segmentLength
protected float segmentWidth
protected float segmentHeight
protected float segmentDepth
protected long padding
public int getMarshalledSize()
public void setSegmentNumber(short pSegmentNumber)
public short getSegmentNumber()
public void setSegmentModification(short pSegmentModification)
public short getSegmentModification()
public void setGeneralSegmentAppearance(int pGeneralSegmentAppearance)
public int getGeneralSegmentAppearance()
public void setSpecificSegmentAppearance(long pSpecificSegmentAppearance)
public long getSpecificSegmentAppearance()
public void setSegmentLocation(Vector3Double pSegmentLocation)
public Vector3Double getSegmentLocation()
public void setSegmentOrientation(EulerAngles pSegmentOrientation)
public EulerAngles getSegmentOrientation()
public void setSegmentLength(float pSegmentLength)
public float getSegmentLength()
public void setSegmentWidth(float pSegmentWidth)
public float getSegmentWidth()
public void setSegmentHeight(float pSegmentHeight)
public float getSegmentHeight()
public void setSegmentDepth(float pSegmentDepth)
public float getSegmentDepth()
public void setPadding(long pPadding)
public long getPadding()
public void marshal(java.io.DataOutputStream dos)
public void unmarshal(java.io.DataInputStream dis)
public void marshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smallByteBuffer
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