VisimBox 1.0 VisimBox 3d simulation and visualisation ToolBox

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Attributes
VisimBox.Physics.DragForceGenerator Class Reference

Drag force generator, reducing speed of the object based on it's actual speed. More...

Inheritance diagram for VisimBox.Physics.DragForceGenerator:

List of all members.

## Public Member Functions
| DragForceGenerator (float k, float sqk)
| Create generator.
virtual void | Update (RigidBody node, float time)
| Update node by time - slows object based on it's speed.
## Protected Attributes
float | K
float | Squaredk

## Detailed Description

Drag force generator, reducing speed of the object based on it's actual speed.

## Constructor & Destructor Documentation

VisimBox.Physics.DragForceGenerator.DragForceGenerator | ( | float | k,
|  | float | sqk
| ) |  |

Create generator.

Parameters:

  k | Linear koeficient
  sqk | Squared koeficient

## Member Function Documentation

virtual void VisimBox.Physics.DragForceGenerator.Update | ( | RigidBody | node,
|  | float | time
| ) |  | `[virtual]`

Update node by time - slows object based on it's speed.

Parameters:

  node | node
  time | elapsed time

Implements VisimBox.Physics.IForceGenerator.

## Member Data Documentation

float VisimBox.Physics.DragForceGenerator.K`[protected]`

float VisimBox.Physics.DragForceGenerator.Squaredk`[protected]`

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

- ForceGenerator.cs

All Classes Namespaces Files Functions Variables Enumerations Properties Events