|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.vrml.renderer.common.input.dis.OrderNVector3dConverger
public class OrderNVector3dConverger
An order-N Vector3dConverger.
| Constructor Summary | |
|---|---|
OrderNVector3dConverger(int pOrder,
int pConvergenceInterval,
Solver pSolver)
Constructor. |
|
| Method Summary | |
|---|---|
void |
convergeTo(javax.vecmath.Vector3d value,
javax.vecmath.Vector3d[] derivatives,
long referenceTime,
long currentTime)
Smoothly converges to the specified state. |
void |
getDerivatives(long time,
javax.vecmath.Vector3d[] result)
Fills the given array with the current values of the variable's derivatives. |
void |
getValue(long time,
javax.vecmath.Vector3d result)
Returns the current value of the variable. |
boolean |
isConverging()
Are the values still converging? |
void |
setValueAndDerivatives(javax.vecmath.Vector3d value,
javax.vecmath.Vector3d[] derivatives,
long referenceTime)
Sets the value and derivatives associated with this converger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrderNVector3dConverger(int pOrder,
int pConvergenceInterval,
Solver pSolver)
pOrder - the order of the convergerpConvergenceInterval - the length of the convergence interval, in millisecondspSolver - the differential equation solver to use| Method Detail |
|---|
public void setValueAndDerivatives(javax.vecmath.Vector3d value,
javax.vecmath.Vector3d[] derivatives,
long referenceTime)
value - the value of the variablederivatives - an array containing the values of the variable's derivatives; the
value at index 0 is the first derivative, the value at index 1 is the second
derivative, and so onreferenceTime - the time at which the values were valid
public void getValue(long time,
javax.vecmath.Vector3d result)
time - the current time, in milliseconds since the epochresult - a Vector3d to hold the result
public void getDerivatives(long time,
javax.vecmath.Vector3d[] result)
time - the current time, in milliseconds since the epochresult - an array to contain the current values of the variable's derivatives
public void convergeTo(javax.vecmath.Vector3d value,
javax.vecmath.Vector3d[] derivatives,
long referenceTime,
long currentTime)
value - the value of the variablederivatives - an array containing the values of the variable's derivatives; the
value at index 0 is the first derivative, the value at index 1 is the second
derivative, and so onreferenceTime - the time at which the values were validcurrentTime - the current time, in milliseconds since the epochpublic boolean isConverging()
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||