35 #ifndef FGEXTERNALFORCE_H 36 #define FGEXTERNALFORCE_H 43 #include "FGFDMExec.h" 44 #include "FGJSBBase.h" 45 #include "models/propulsion/FGForce.h" 46 #include "input_output/FGPropertyManager.h" 47 #include "math/FGColumnVector3.h" 48 #include "math/FGFunction.h" 54 #define ID_EXTERNALFORCE "$Id: FGExternalForce.h,v 1.13 2014/11/25 01:44:17 dpculp Exp $" 163 void SetMagnitude(
double mag);
164 void SetAzimuth(
double az) {azimuth = az;}
167 double GetMagnitude(
void)
const {
return magnitude;}
168 double GetAzimuth(
void)
const {
return azimuth;}
169 double GetX(
void)
const {
return vDirection(eX);}
170 double GetY(
void)
const {
return vDirection(eY);}
171 double GetZ(
void)
const {
return vDirection(eZ);}
172 void SetX(
double x) {vDirection(eX) = x;}
173 void SetY(
double y) {vDirection(eY) = y;}
174 void SetZ(
double z) {vDirection(eZ) = z;}
175 double GetLocX(
void)
const {
return vActingXYZn(eX);}
176 double GetLocY(
void)
const {
return vActingXYZn(eY);}
177 double GetLocZ(
void)
const {
return vActingXYZn(eZ);}
178 void SetLocX(
double x) {vXYZn(eX) = x; vActingXYZn(eX) = x;}
179 void SetLocY(
double y) {vXYZn(eY) = y; vActingXYZn(eY) = y;}
180 void SetLocZ(
double z) {vXYZn(eZ) = z; vActingXYZn(eZ) = z;}
190 void Debug(
int from);
Encapsulates code that models an individual arbitrary force.
Represents a mathematical function.
This class implements a 3 element column vector.
FGExternalForce(FGFDMExec *FDMExec)
Constructor.
~FGExternalForce()
Destructor.
Encapsulates the JSBSim simulation executive.
Utility class that aids in the conversion of forces between coordinate systems and calculation of mom...