|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sirius.patrius.wrenches.GravitationalAttractionWrench
public class GravitationalAttractionWrench
This class represents a gravitational attraction wrench
Constructor Summary | |
---|---|
GravitationalAttractionWrench(IInertiaModel spacecraft,
double mu)
Create a wrench model from an inertia model and a gravitational parameter |
Method Summary | |
---|---|
Vector3D |
computeTorque(SpacecraftState s)
Compute the resulting torque at the mass centre of the spacecraft in the frame of the main part. |
Vector3D |
computeTorque(SpacecraftState s,
Vector3D origin,
Frame frame)
Compute the resulting wrench. |
Wrench |
computeWrench(SpacecraftState s)
Compute the resulting wrench at the mass centre of the spacecraft in the frame of the main part. |
Wrench |
computeWrench(SpacecraftState s,
Vector3D origin,
Frame frame)
Compute the resulting wrench. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GravitationalAttractionWrench(IInertiaModel spacecraft, double mu)
spacecraft
- inertia modelmu
- gravitational parameterMethod Detail |
---|
public Wrench computeWrench(SpacecraftState s) throws OrekitException
computeWrench
in interface WrenchModel
s
- spacecraft state
OrekitException
- if some error occurspublic Wrench computeWrench(SpacecraftState s, Vector3D origin, Frame frame) throws OrekitException
computeWrench
in interface WrenchModel
s
- spacecraft stateorigin
- point in which to express wrenchframe
- frame in which point is expressed
OrekitException
- if some error occurspublic Vector3D computeTorque(SpacecraftState s) throws OrekitException
computeTorque
in interface WrenchModel
s
- spacecraft state
OrekitException
- if some error occurspublic Vector3D computeTorque(SpacecraftState s, Vector3D origin, Frame frame) throws OrekitException
computeTorque
in interface WrenchModel
s
- spacecraft stateorigin
- point in which to express torqueframe
- frame in which point is expressed
OrekitException
- if some error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |