|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.sip.ch17.RigidBody
public class RigidBody
RigidBody models rigid body dynamics by solving Euler's equations using an ODE solver.
Constructor Summary | |
---|---|
RigidBody()
|
Method Summary | |
---|---|
void |
advanceTime()
Advances the time be solving the differential equation. |
double[] |
getBodyFrameAngularMomentum()
Gets the space frame angular momentum components. |
double[] |
getBodyFrameOmega()
Gets the space frame angular velocity components. |
void |
getRate(double[] state,
double[] rate)
Gets the rate of the rigid body's state using the given state. |
double[] |
getState()
Gets the state of the rigid body. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RigidBody()
Method Detail |
---|
public double[] getBodyFrameOmega()
public double[] getBodyFrameAngularMomentum()
public void advanceTime()
public double[] getState()
getState
in interface ODE
public void getRate(double[] state, double[] rate)
getRate
in interface ODE
state
- double[]rate
- double[]
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |