#include "McdFrame.h"
Typedefs | |
| typedef McdGeometryID | McdConeID |
| McdCone is a concrete McdGeometry type. | |
Functions | |
| void | McdConeRegisterType () |
| Register the McdCone geometry type with the Mcd system. More... | |
| McdConeID | McdConeCreate ( McdReal length, McdReal lowerRadius) |
| Create a cone geometry. More... | |
| McdReal | McdConeGetLength ( McdConeID ) |
| Returns the cone's length. | |
| McdReal | McdConeGetLowerRadius ( McdConeID ) |
| Returns the cone's lower radius. | |
| McdReal | McdConeGetZOffset ( McdConeID ) |
| Returns the distance from the z=0 plane to the the cone's base, which lies below it. More... | |
|
Create a cone geometry.
In its local coordinate system, the cone's principal axis is aligned with the z-axis. The cone's center-of-mass is at the origin: this means that the base of the cone is below the z=0 axis. The amount of this offset is given by McdConeGetZOffset().
|
Returns the distance from the z=0 plane to the the cone's base, which lies below it.
The cone is positioned like this so that its origin lies at its center of mass.
|
Register the McdCone geometry type with the Mcd system.
McdCone is often registered implicitly via McdPrimitivesRegisterTypes(), in which case it is an error to call McdConeRegisterType() explicitly as well.
Copyright MathEngine PLC 2000, all rights reserved.