public class GridAxisDescriptorVariable extends GridAxisDescriptor implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected double |
coordinateOffsetXi
The constant offset value that shall be applied to the grid locations for the xi axis
|
protected double |
coordinateScaleXi
value that linearly scales the coordinates of the grid locations for the xi axis
|
protected short |
initialIndex
initial grid point for the current pdu
|
protected short |
numberOfPointsOnXiAxis
Number of grid locations along Xi axis
|
protected short[] |
xiValues
list of coordinates
|
axisType, domainFinalXi, domainInitialXi, domainPointsXi, interleafFactor
Constructor and Description |
---|
GridAxisDescriptorVariable()
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 |
double |
getCoordinateOffsetXi()
Getter for
coordinateOffsetXi |
double |
getCoordinateScaleXi()
Getter for
coordinateScaleXi |
short |
getInitialIndex()
Getter for
initialIndex |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
short |
getNumberOfPointsOnXiAxis()
Getter for
numberOfPointsOnXiAxis |
short[] |
getXiValues()
Getter for
xiValues |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
GridAxisDescriptorVariable |
setCoordinateOffsetXi(double pCoordinateOffsetXi)
Setter for
coordinateOffsetXi |
GridAxisDescriptorVariable |
setCoordinateScaleXi(double pCoordinateScaleXi)
Setter for
coordinateScaleXi |
GridAxisDescriptorVariable |
setInitialIndex(short pInitialIndex)
Setter for
initialIndex |
GridAxisDescriptorVariable |
setNumberOfPointsOnXiAxis(short pNumberOfPointsOnXiAxis)
Setter for
numberOfPointsOnXiAxis |
GridAxisDescriptorVariable |
setXiValues(short[] pXiValues)
Setter for
xiValues |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.
|
getAxisType, getDomainFinalXi, getDomainInitialXi, getDomainPointsXi, getInterleafFactor, setAxisType, setDomainFinalXi, setDomainInitialXi, setDomainPointsXi, setInterleafFactor
protected short numberOfPointsOnXiAxis
protected short initialIndex
protected double coordinateScaleXi
protected double coordinateOffsetXi
protected short[] xiValues
public int getMarshalledSize()
getMarshalledSize
in class GridAxisDescriptor
public GridAxisDescriptorVariable setNumberOfPointsOnXiAxis(short pNumberOfPointsOnXiAxis)
numberOfPointsOnXiAxis
public short getNumberOfPointsOnXiAxis()
numberOfPointsOnXiAxis
public GridAxisDescriptorVariable setInitialIndex(short pInitialIndex)
initialIndex
public short getInitialIndex()
initialIndex
public GridAxisDescriptorVariable setCoordinateScaleXi(double pCoordinateScaleXi)
coordinateScaleXi
public double getCoordinateScaleXi()
coordinateScaleXi
public GridAxisDescriptorVariable setCoordinateOffsetXi(double pCoordinateOffsetXi)
coordinateOffsetXi
public double getCoordinateOffsetXi()
coordinateOffsetXi
public GridAxisDescriptorVariable setXiValues(short[] pXiValues)
xiValues
public short[] getXiValues()
xiValues
public void marshal(java.io.DataOutputStream dos)
marshal
in class GridAxisDescriptor
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class GridAxisDescriptor
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
marshal
in class GridAxisDescriptor
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
unmarshal
in class GridAxisDescriptor
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 GridAxisDescriptor
public boolean equalsImpl(java.lang.Object obj)
GridAxisDescriptor
this
and the supplied objectequalsImpl
in class GridAxisDescriptor
obj
- the object to compare to