#include <StraightSolver.h>
Inheritance diagram for ParticleSystems::StraightSolver:
Public Member Functions | |
StraightSolver (Force *f) | |
The Constructor. | |
StraightSolver () | |
The default Constructor. | |
virtual | ~StraightSolver () |
The Destructor. | |
virtual void | nextStep (GraphicsLib::Vector *direction) |
An abstract Function. | |
virtual void | nextStep (GraphicsLib::Vector *direction, float *mass) |
An abstract Function. |
The StraightSolver Class is a Subclass of the Solver Superclass. If no Force is added to the StraightSolver it evolves the direction passed in a straight line.
Definition at line 29 of file StraightSolver.h.
|
The Constructor. The Constructor which adds the given Force to the forces vector.
Definition at line 11 of file StraightSolver.cpp. |
|
The default Constructor. The default Constructor Definition at line 14 of file StraightSolver.cpp. |
|
The Destructor. The Destructor Definition at line 17 of file StraightSolver.cpp. |
|
An abstract Function. Evolves the given direction Vector by applying the Forces assigned to this Solver. This function also takes into consideration the mass passed.
Implements ParticleSystems::Solver. Definition at line 30 of file StraightSolver.cpp. |
|
An abstract Function. Evolves the given direction Vector by applying the Forces assigned to this Solver.
Implements ParticleSystems::Solver. Definition at line 21 of file StraightSolver.cpp. |