org.orekit.wrenches
Interface WrenchModel

All Known Implementing Classes:
DragWrench, GenericWrenchModel, GravitationalAttractionWrench, MagneticWrench, SolarRadiationWrench

public interface WrenchModel

Interface to represents wrench models.

Since:
2.1
Version:
$Id: WrenchModel.java 17602 2017-05-18 08:25:23Z bignon $
Author:
Rami Houdroge

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.
 

Method Detail

computeWrench

Wrench computeWrench(SpacecraftState s)
                     throws OrekitException
Compute the resulting wrench at the mass centre of the spacecraft in the frame of the main part.

Parameters:
s - spacecraft state
Returns:
resulting wrench
Throws:
OrekitException - if some error occurs

computeWrench

Wrench computeWrench(SpacecraftState s,
                     Vector3D origin,
                     Frame frame)
                     throws OrekitException
Compute the resulting wrench.

Parameters:
s - spacecraft state
origin - point in which to express wrench
frame - frame in which point is expressed
Returns:
resulting wrench
Throws:
OrekitException - if some error occurs

computeTorque

Vector3D computeTorque(SpacecraftState s)
                       throws OrekitException
Compute the resulting torque at the mass centre of the spacecraft in the frame of the main part.

Parameters:
s - spacecraft state
Returns:
resulting torque at center of spacecraft state frame
Throws:
OrekitException - if some error occurs

computeTorque

Vector3D computeTorque(SpacecraftState s,
                       Vector3D origin,
                       Frame frame)
                       throws OrekitException
Compute the resulting wrench.

Parameters:
s - spacecraft state
origin - point in which to express torque
frame - frame in which point is expressed
Returns:
resulting torque expressed at origin
Throws:
OrekitException - if some error occurs


Copyright © 2017 CNES. All Rights Reserved.