public class GenericWrenchModel extends Object implements WrenchModel
| Constructor and Description |
|---|
GenericWrenchModel(ForceModel force,
Vector3D origin)
Create a generic wrench model.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public GenericWrenchModel(ForceModel force, Vector3D origin)
force - forceorigin - application pointpublic Wrench computeWrench(SpacecraftState s) throws PatriusException
computeWrench in interface WrenchModels - spacecraft statePatriusException - if some error occurspublic Wrench computeWrench(SpacecraftState s, Vector3D origin, Frame frame) throws PatriusException
computeWrench in interface WrenchModels - spacecraft stateorigin - point in which to express wrenchframe - frame in which point is expressedPatriusException - if some error occurspublic Vector3D computeTorque(SpacecraftState s) throws PatriusException
computeTorque in interface WrenchModels - spacecraft statePatriusException - if some error occurspublic Vector3D computeTorque(SpacecraftState s, Vector3D origin, Frame frame) throws PatriusException
computeTorque in interface WrenchModels - spacecraft stateorigin - point in which to express torqueframe - frame in which point is expressedPatriusException - if some error occursCopyright © 2024 CNES. All rights reserved.