public class Static4D extends Static implements Data4D
Constructor and Description |
---|
Static4D(float vx,
float vy,
float vz,
float vw)
Constructor that initialises the value of the four floats to (vx,vy,vz,vw).
|
Modifier and Type | Method and Description |
---|---|
boolean |
get(float[] buffer,
int offset,
long time,
long step)
'Interpolation' between the single Point (i.e.
|
float |
get0()
Return the value of the first float contained.
|
float |
get1()
Return the value of the second float contained.
|
float |
get2()
Return the value of the third float contained.
|
float |
get3()
Return the value of the fourth float contained.
|
void |
set(float vx,
float vy,
float vz,
float vw)
Reset the value of the floats to (vx,vy,vz,vw).
|
void |
set(Static4D s)
Copy a Static4D.
|
void |
set0(float ox)
Resets the value of the first float.
|
void |
set1(float oy)
Resets the value of the second float.
|
void |
set2(float oz)
Resets the value of the third float.
|
void |
set3(float ow)
Resets the value of the fourth float.
|
getDimension
public Static4D(float vx, float vy, float vz, float vw)
vx
- value of the first float.vy
- value of the second float.vz
- value of the third float.vw
- value of the fourth float.public void set(float vx, float vy, float vz, float vw)
vx
- new value of the first floatvy
- new value of the second floatvz
- new value of the third floatvw
- new value of the fourth floatpublic void set(Static4D s)
public void set0(float ox)
ox
- new value of the first float.public void set1(float oy)
oy
- new value of the second float.public void set2(float oz)
oz
- new value of the third float.public void set3(float ow)
ow
- new value of the fourth float.public float get0()
public float get1()
public float get2()
public float get3()
public boolean get(float[] buffer, int offset, long time, long step)