//
// Written by Curtis Olson, started May 1997.
//
-// Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com
+// Copyright (C) 1997 Curtis L. Olson - http://www.flightgear.org/~curt
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// $Id$
//*************************************************************************/
void set_ls(void);
void snap_shot(void);
double time_step;
- SGPropertyNode *speed_up;
- SGPropertyNode *aero;
- SGPropertyNode *uiuc_type;
+ SGPropertyNode_ptr speed_up;
+ SGPropertyNode_ptr aero;
+ SGPropertyNode_ptr uiuc_type;
+ double mass, i_xx, i_yy, i_zz, i_xz;
public:
void set_Static_temperature(double T);
void set_Density(double rho);
-/*
- void set_Velocities_Local_Airmass (double wnorth,
- double weast,
- double wdown );
-*/
+ // Inertias
+ double get_Mass() const { return mass; }
+ double get_I_xx() const { return i_xx; }
+ double get_I_yy() const { return i_yy; }
+ double get_I_zz() const { return i_zz; }
+ double get_I_xz() const { return i_xz; }
+
+ void _set_Inertias( double m, double xx, double yy, double zz, double xz)
+ {
+ mass = m;
+ i_xx = xx;
+ i_yy = yy;
+ i_zz = zz;
+ i_xz = xz;
+ }
};