physics Namespace Reference

physics module. More...


Classes

class  AircraftSpecsConfTxt
 Fills a AircraftSpecs object from a .conf textual file. More...
class  AircraftSpecs
 Specifications/characteristics of an Aircraft. More...
class  Conf
 Module configuration. More...
class  AircraftPhysics
 AircraftPhysics model. More...
class  PhysicsControl
 Main Physics object. More...
class  Meter
 Scalar distance. Vector distance is GeoVertex (rather than Meter3). More...
class  Speed
 Speed in meters/second. Speed measures magnitude, not direction, so it is a scalar. More...
class  Velocity
 Velocity measures magnitude and direction, so it is a vector. velocity = distance/time meter/second = Speed type = Velocity[Speed,Speed,Speed] Defining Velocity as Vertex3<Speed> proved impractical (required too much casting). More...
class  Mach
 Speed in Mach units. More...
class  Kilogram
 Measurement of mass/inertia. Mass and weight are different (mass is inertia, weight is a force). More...
class  Newton
 Measurement of force. F = M * A (unit of force needed to accelerate a unit of mass). N = kg * meter/t/t. More...
class  SpeedKPH
 Kilometers-per-hour. More...
class  SpeedMPH
 Miles-per-hour (metric preferred). More...

Namespaces

namespace  conv
 Physics conversion functions.
namespace  defs
namespace  global

Typedefs

typedef Vector3 Velocity

Enumerations

enum  { TYPESIG_AIRCRAFT_PHYSICS = (uint('C')<<24) | (uint('R')<<16) | (uint('P')<<8) | uint('Y') }
 Type signatures. More...

Functions

ostream & operator<< (ostream &strm, const Conf &conf)
INLINE ConfGetConf (void)
void Init (const base::InitArgs &initArgs)
void Start (void)
FP const Speed SPEED_MINIMAL (0.01f)
 DECLARE_DISTINCT_TYPE_STRICT (Mach, fp, FP) typedef Vector3 Acceleration
 Rate of change in velocity. acceleration = (distance/time) / time Acceleration is represented as a Vector3 as distance (direction) is the variable while the time units are constant (1).
FP const SpeedKPH SPEED_KPH_MINIMAL (0.01f)
 DECLARE_DISTINCT_TYPE_STRICT (SpeedMPH, fp, FP) struct GeoVertex
 3D vector in METERS in physical space (Meter3).
INLINE ostream & operator<< (ostream &strm, const GeoVertex &gv)

Variables

INTERN const fp AIR_BRAKES_DRAG_FACTOR = 0.25f
INTERN const fp WHEEL_BRAKES_DRAG_FACTOR = 1.00f
 fp


Detailed Description

physics module.

Typedef Documentation

typedef Vector3 physics::Velocity


Enumeration Type Documentation

anonymous enum

Type signatures.

Enumerator:
TYPESIG_AIRCRAFT_PHYSICS 


Function Documentation

physics::DECLARE_DISTINCT_TYPE_STRICT ( SpeedMPH  ,
fp  ,
FP   
)

3D vector in METERS in physical space (Meter3).

physics::DECLARE_DISTINCT_TYPE_STRICT ( Mach  ,
fp  ,
FP   
)

Rate of change in velocity. acceleration = (distance/time) / time Acceleration is represented as a Vector3 as distance (direction) is the variable while the time units are constant (1).

INLINE Conf& physics::GetConf ( void   ) 

void physics::Init ( const base::InitArgs initArgs  ) 

Initialize module.

INLINE ostream& physics::operator<< ( ostream &  strm,
const GeoVertex &  gv 
)

ostream & physics::operator<< ( ostream &  strm,
const Conf conf 
)

Print Conf configuration.

FP const SpeedKPH physics::SPEED_KPH_MINIMAL ( 0.  01f  ) 

Type Constraints

FP const Speed physics::SPEED_MINIMAL ( 0.  01f  ) 

Type Constraints

void physics::Start ( void   ) 

Start module.


Variable Documentation

INTERN const fp physics::AIR_BRAKES_DRAG_FACTOR = 0.25f

INTERN const fp physics::WHEEL_BRAKES_DRAG_FACTOR = 1.00f

Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:49 2010