102 return fdmex->GetAuxiliary()->GetTw2b();
104 return fdmex->GetPropagate()->GetTl2b();
110 const string s(
"Unrecognized tranform requested from FGForce::Transform()");
121 double cp,sp,cr,sr,cy,sy;
122 double srsp, crcy, crsy;
136 mT(1,2) = srsp*cy - crsy;
137 mT(2,2) = srsp*sy + crcy;
140 mT(1,3) = crcy*sp + sr*sy;
141 mT(2,3) = crsy*sp - sr*cy;
177void FGForce::Debug(
int from)
187 if (from == 0) cout <<
"Instantiated: FGForce" << endl;
188 if (from == 1) cout <<
"Destroyed: FGForce" << endl;
JSBSim::FGFDMExec * FDMExec
This class implements a 3 element column vector.
virtual const FGColumnVector3 & GetBodyForces(void)
const FGMatrix33 & Transform(void) const
FGMassBalance * MassBalance
virtual ~FGForce()
Destructor.
void UpdateCustomTransformMatrix(void)
FGForce(FGFDMExec *FDMExec)
Constructor.
FGColumnVector3 vActingXYZn
void SetAnglesToBody(double broll, double bpitch, double byaw)
Handles matrix math operations.