public class LinearSegmentParameter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected Vector3Double |
location
location
|
protected Orientation |
orientation
orientation
|
protected long |
pad1
segment Depth
|
protected SixByteChunk |
segmentAppearance
segment appearance
|
protected int |
segmentDepth
segment Depth
|
protected int |
segmentHeight
segmentHeight
|
protected int |
segmentLength
segmentLength
|
protected short |
segmentNumber
number of segments
|
protected int |
segmentWidth
segmentWidth
|
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 |
Vector3Double |
getLocation() |
int |
getMarshalledSize() |
Orientation |
getOrientation() |
long |
getPad1() |
SixByteChunk |
getSegmentAppearance() |
int |
getSegmentDepth() |
int |
getSegmentHeight() |
int |
getSegmentLength() |
short |
getSegmentNumber() |
int |
getSegmentWidth() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setLocation(Vector3Double pLocation) |
void |
setOrientation(Orientation pOrientation) |
void |
setPad1(long pPad1) |
void |
setSegmentAppearance(SixByteChunk pSegmentAppearance) |
void |
setSegmentDepth(int pSegmentDepth) |
void |
setSegmentHeight(int pSegmentHeight) |
void |
setSegmentLength(int pSegmentLength) |
void |
setSegmentNumber(short pSegmentNumber) |
void |
setSegmentWidth(int pSegmentWidth) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
protected short segmentNumber
protected SixByteChunk segmentAppearance
protected Vector3Double location
protected Orientation orientation
protected int segmentLength
protected int segmentWidth
protected int segmentHeight
protected int segmentDepth
protected long pad1
public int getMarshalledSize()
public void setSegmentNumber(short pSegmentNumber)
public short getSegmentNumber()
public void setSegmentAppearance(SixByteChunk pSegmentAppearance)
public SixByteChunk getSegmentAppearance()
public void setLocation(Vector3Double pLocation)
public Vector3Double getLocation()
public void setOrientation(Orientation pOrientation)
public Orientation getOrientation()
public void setSegmentLength(int pSegmentLength)
public int getSegmentLength()
public void setSegmentWidth(int pSegmentWidth)
public int getSegmentWidth()
public void setSegmentHeight(int pSegmentHeight)
public int getSegmentHeight()
public void setSegmentDepth(int pSegmentDepth)
public int getSegmentDepth()
public void setPad1(long pPad1)
public long getPad1()
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