public class DragWrench extends Object implements WrenchModel
DragWrenchSensitive
Constructor and Description |
---|
DragWrench(Atmosphere atmosphere,
DragWrenchSensitive spacecraft)
Simple constructor.
|
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 DragWrench(Atmosphere atmosphere, DragWrenchSensitive spacecraft)
atmosphere
- atmospheric modelspacecraft
- the object physical and geometrical informationpublic Wrench computeWrench(SpacecraftState s) throws PatriusException
computeWrench
in interface WrenchModel
s
- spacecraft statePatriusException
- if some error occurspublic Wrench computeWrench(SpacecraftState s, Vector3D origin, Frame frame) throws PatriusException
computeWrench
in interface WrenchModel
s
- 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 WrenchModel
s
- spacecraft statePatriusException
- if some error occurspublic Vector3D computeTorque(SpacecraftState s, Vector3D origin, Frame frame) throws PatriusException
computeTorque
in interface WrenchModel
s
- spacecraft stateorigin
- point in which to express torqueframe
- frame in which point is expressedPatriusException
- if some error occursCopyright © 2023 CNES. All rights reserved.