MathEngine
Home Page       Structures       File List       Functions and Macros      

McdBox.h File Reference

The box primitive geometry type. More...

#include "McdFrame.h"

Typedefs

typedef McdGeometryID McdBoxID
 McdBox is a concrete McdGeometry type.


Functions

void McdBoxRegisterType ()
 Register the McdBox geometry type with the Mcd system. More...

int McdBoxGetTypeID ( )
 Returns a unique ID identifying the McdBox geometry type.

McdBoxID McdBoxCreate ( McdReal dx, McdReal dy, McdReal dz )
 Create new box geometry, and set its dimensions to the three values given.

void McdBoxSetDimensions ( McdBoxID g, McdReal dx, McdReal dy, McdReal dz )
 Set box's dimensions.

void McdBoxGetDimensions ( McdBoxID g, McdReal *dx, McdReal *dy, McdReal *dz )
 Get the box's dimensions.


Detailed Description

The box primitive geometry type.


Function Documentation

void McdBoxRegisterType ( )

Register the McdBox geometry type with the Mcd system.

McdBox is often registered implicitly via McdPrimitivesRegisterTypes() or McdSphereBoxPlaneRegisterTypes(), in which case it is an error to call McdBoxRegisterType() explicitly as well.


MathEngine Collision Toolkit - Version 0.0.5 Alpha - Reference Manual generated using doxygen at Wed Oct 11 00:34:40 2000

Copyright MathEngine PLC 2000, all rights reserved.