MathEngine
Home Page       Structures       File List       Functions and Macros      

McdPrimitives.h File Reference

Geometrical primitive types and interactions. More...

#include "McdFrame.h"
#include "McdSphere.h"
#include "McdBox.h"
#include "McdPlane.h"
#include "McdCone.h"
#include "McdCylinder.h"

Functions

unsigned int McdPrimitivesGetTypeCount ()
 Returns the number of primitive geometry types. More...

void McdPrimitivesRegisterTypes ()
 Register all the primitive geometry types with the Mcd system.

void McdPrimitivesRegisterInteractions ()
 Register all the available interactions between primitive geometry types. More...

void McdSphereBoxPlaneRegisterTypes ()
 Register the sphere, box and plane geometry types.

void McdSphereBoxPlaneRegisterInteractions ()
 Register all available interactions between sphere, box and plane geometry types. More...


Detailed Description

Geometrical primitive types and interactions.


Function Documentation

unsigned int McdPrimitivesGetTypeCount ( )

Returns the number of primitive geometry types.

This is the number of types involved in the registration functions McdPrimitivesRegisterTypes() and McdPrimitivesRegisterInteractions(). The parameter to McdInit() must be at least as large as this number if you are going to register all the primitive types.

void McdPrimitivesRegisterInteractions ( )

Register all the available interactions between primitive geometry types.

The geometry types must be registered before calling this function.

void McdSphereBoxPlaneRegisterInteractions ( )

Register all available interactions between sphere, box and plane geometry types.

The geometry types must be registered before calling this function.


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

Copyright MathEngine PLC 2000, all rights reserved.