#include "McdFrame.h"
Typedefs | |
| typedef McdGeometryID | McdCylinderID |
| McdCylinder is a concrete McdGeometry type. | |
Functions | |
| void | McdCylinderRegisterType () |
| Register the McdCylinder geometry type with the Mcd system. More... | |
| int | McdCylinderGetTypeID () |
| Returns a unique ID identifying the McdCylinder geometry type. | |
| McdCylinderID | McdCylinderCreate ( McdReal r, McdReal h ) |
| Create a new cylinder geometry. More... | |
| void | McdCylinderSetRadius ( McdCylinderID g, McdReal r ) |
| Set the cylinder's radius. More... | |
| void | McdCylinderSetHeight ( McdCylinderID g, McdReal h ) |
| Set the cylinder's height. More... | |
| McdReal | McdCylinderGetRadius ( McdCylinderID g ) |
| Return the cylinder's radius. More... | |
| McdReal | McdCylinderGetHeight ( McdCylinderID g ) |
| Return the cylinder's height. More... | |
|
Create a new cylinder geometry.
| r | : radius |
| h |
: height
|
|
Return the cylinder's height.
| h | : height |
|
Return the cylinder's radius.
| r | : radius |
|
Register the McdCylinder geometry type with the Mcd system.
McdCylinder is often registered implicitly via McdPrimitivesRegisterTypes() or McdSphereBoxPlaneRegisterTypes(), in which case it is an error to call McdBoxRegisterType() explicitly as well.
|
Set the cylinder's height.
| h | : height |
|
Set the cylinder's radius.
| r | : radius |
Copyright MathEngine PLC 2000, all rights reserved.