PairForce Class Reference

Helper class for forces that act between two selected bodies. More...

#include <spring.h>

Inheritance diagram for PairForce:

Spring List of all members.

Public Member Functions

 PairForce (Body *bodyPtr1=0, Body *bodyPtr2=0)
BodybodyPtr1 ()
BodybodyPtr2 ()

Detailed Description

Helper class for forces that act between two selected bodies.

Todo:
create force.h for such things; MultiPairForce is also good idea


Constructor & Destructor Documentation

PairForce ( Body bodyPtr1 = 0,
Body bodyPtr2 = 0 
) [inline]

Constructs PairForce


Member Function Documentation

Body* bodyPtr1 (  )  [inline]

Get pointer to the first body

Body* bodyPtr2 (  )  [inline]

Get pointer to the second body


The documentation for this class was generated from the following file:
Generated on Thu Mar 15 14:23:37 2007 for StepCore by  doxygen 1.5.1