public class Static3D extends Static implements Data3D
Constructor and Description |
---|
Static3D(float vx,
float vy,
float vz)
Constructor that initialises the value of the three floats to (vx,vy,vz).
|
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.
|
void |
set(float vx,
float vy,
float vz)
Reset the value of the floats to (vx,vy,vz).
|
void |
set(Static3D s)
Copy a Static3D.
|
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.
|
getDimension
public Static3D(float vx, float vy, float vz)
vx
- value of the first float.vy
- value of the second float.vz
- value of the third float.public void set(float vx, float vy, float vz)
vx
- new value of the first floatvy
- new value of the second floatvz
- new value of the third floatpublic void set(Static3D 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 float get0()
public float get1()
public float get2()
public boolean get(float[] buffer, int offset, long time, long step)