# cGenericPointForceAlgo Class Reference
[Force Rendering Algorithms]

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

`#include <CGenericPointForceAlgo.h>`

Inheritance diagram for cGenericPointForceAlgo:

[legend]

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_toolPos, const cVector3d &a_toolVel)
| 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.

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

- D:/CHAI3D/build-2-0-0/2.0.0/win32/src/forces/CGenericPointForceAlgo.h
- D:/CHAI3D/build-2-0-0/2.0.0/win32/src/forces/CGenericPointForceAlgo.cpp

CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.