- Main Page
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# cGenericPointForceAlgo Class Reference

cGenericPointForceAlgo is an abstract class for algorithms that compute single point force contacts. More...

`#include <CGenericPointForceAlgo.h>`

Inheritance diagram for cGenericPointForceAlgo:

List of all members.

## Public Member Functions
| cGenericPointForceAlgo ()
| Constructor of cGenericPointForceAlgo.
virtual | ~cGenericPointForceAlgo ()
| Destructor of cGenericPointForceAlgo.
cWorld * | getWorld ()
| Get a pointer to the world in which the force algorithm is operating.
virtual void | initialize (cWorld *a_world, const cVector3d &a_initialPos)
| Initialize the algorithm by passing the initial position of the device.
virtual cVector3d | computeForces (const cVector3d &a_nextDevicePos)
| Compute the next force given the updated position of the device.
## Protected Attributes
cWorld * | m_world
| Pointer to the world in which the force algorithm operates.

## Detailed Description

cGenericPointForceAlgo is an abstract class for algorithms that compute single point force contacts.

## Constructor & Destructor Documentation

cGenericPointForceAlgo::cGenericPointForceAlgo | ( |  | ) |

Constructor of cGenericPointForceAlgo.

Constructor of cGenericPointForceAlgo.

The documentation for this class was generated from the following files:

- chai3d/src/forces/CGenericPointForceAlgo.h
- chai3d/src/forces/CGenericPointForceAlgo.cpp