• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

step/stepcore

StepCore::Force

StepCore::Force Class Reference
[Physical forces]

#include <world.h>

Inheritance diagram for StepCore::Force:

Inheritance graph
[legend]

List of all members.


Detailed Description

Interface for forces.

Force is anything that acts upon bodies changing derivatives of dynamic variables

Definition at line 199 of file world.h.


Public Member Functions

virtual void calcForce (bool calcVariances)=0
virtual ~Force ()

Constructor & Destructor Documentation

virtual StepCore::Force::~Force (  )  [inline, virtual]

Definition at line 204 of file world.h.


Member Function Documentation

virtual void StepCore::Force::calcForce ( bool  calcVariances  )  [pure virtual]

Calculate force.

Bodies can be accessed through this->world()->bodies()

Implemented in StepCore::CoulombForce, StepCore::GasLJForce, StepCore::GravitationForce, StepCore::WeightForce, StepCore::LinearMotor, StepCore::CircularMotor, and StepCore::Spring.


The documentation for this class was generated from the following file:
  • world.h

step/stepcore

Skip menu "step/stepcore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal