#include <ccylinder.h>
Inheritance diagram for kerosin::CCylinder:
Public Member Functions | |
CCylinder () | |
virtual | ~CCylinder () |
void | SetParams (float radius, float length) |
sets the parameters of the capped cylinder. | |
void | GetParams (float &radius, float &length) const |
returns the parameters of the capped cylinder | |
float | GetRadius () |
returns the radius of the capped cylinder | |
float | GetLength () |
returns the length of the capped cylinder | |
Protected Attributes | |
float | mRadius |
the radius of the caps and the cylinder | |
float | mLength |
the height of the clinder, not counting the caps |
Definition at line 34 of file ccylinder.h.
|
Definition at line 31 of file ccylinder.cpp. |
|
Definition at line 35 of file ccylinder.cpp. |
|
returns the length of the capped cylinder
Definition at line 62 of file ccylinder.cpp. References mLength. |
|
returns the parameters of the capped cylinder
Definition at line 51 of file ccylinder.cpp. |
|
returns the radius of the capped cylinder
Definition at line 57 of file ccylinder.cpp. References mRadius. |
|
sets the parameters of the capped cylinder.
Definition at line 39 of file ccylinder.cpp. References zeitgeist::ParameterList::AddValue(), kerosin::StaticMesh::Load(), mLength, and mRadius. Here is the call graph for this function: ![]() |
|
the height of the clinder, not counting the caps
Definition at line 70 of file ccylinder.h. Referenced by GetLength(), GetParams(), and SetParams(). |
|
the radius of the caps and the cylinder
Definition at line 67 of file ccylinder.h. Referenced by GetParams(), GetRadius(), and SetParams(). |