# NewGamePhysics.Physics.CircularObjectAcceleration Class Reference

Inheritance diagram for NewGamePhysics.Physics.CircularObjectAcceleration:

List of all members.

## Public Member Functions
| CircularObjectAcceleration (double dB, double roB, double cD, double g, double roA)
| A constructor of circular object.

## Detailed Description

An object defining the acceleration of an object of circular shape (i.e. ball) in a gas (i.e. air) under the influence of gravity.

Definition at line 18 of file CircularObjectAcceleration.cs.

## Constructor & Destructor Documentation

NewGamePhysics.Physics.CircularObjectAcceleration.CircularObjectAcceleration | ( | double | dB,
|  | double | roB,
|  | double | cD,
|  | double | g,
|  | double | roA |
| ) |  |  |

A constructor of circular object.

Parameters:

  | dB | Ball diameter
  | roB | Ball material density
  | cD | Drag coefficient
  | g | Acceleration due to gravity
  | roA | Air density

Definition at line 36 of file CircularObjectAcceleration.cs.

    00037         {
    00038             this.dB = dB;
    00039             this.roB = roB;
    00040             this.cD = cD;
    00041             this.g = g;
    00042             this.roA = roA;
    00043
    00044             double v = Math.PI * Math.Pow(dB, 3) / 6;
    00045             mB = roB * v;
    00046             aB = 0.25 * Math.PI * dB * dB;
    00047         }

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

- C:/Users/Andreas Schiffler/Desktop/SVN/NewGamePhysics/NewGamePhysics/Physics/CircularObjectAcceleration.cs