|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.dis.LinearSegmentParameter
@Entity public class LinearSegmentParameter
5.2.48: Linear segment parameters 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
Field Summary | |
---|---|
long |
fk_location
|
long |
fk_orientation
|
long |
fk_segmentAppearance
|
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 Summary | |
---|---|
LinearSegmentParameter()
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 |
Vector3Double |
getLocation()
|
int |
getMarshalledSize()
|
Orientation |
getOrientation()
|
long |
getPad1()
|
long |
getPk_LinearSegmentParameter()
Primary key for hibernate, not part of the DIS standard |
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 |
setPk_LinearSegmentParameter(long pKeyName)
Hibernate primary key, not part of the DIS standard |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 long fk_segmentAppearance
public long fk_location
public long fk_orientation
Constructor Detail |
---|
public LinearSegmentParameter()
Method Detail |
---|
public int getMarshalledSize()
public long getPk_LinearSegmentParameter()
public void setPk_LinearSegmentParameter(long pKeyName)
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 writing
java.nio.BufferOverflowException
- if buff is too small
java.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin reading
java.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 object
obj
- the object to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |