Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

rdSIMMUtilities Class Reference

This class provides basic math functions and constants. More...

#include <rdSIMMUtilities.h>

List of all members.

Static Public Member Functions

int LoadBone (const char *aFileName, double rBoundingBox[6], int &rNumVert, double *&rVerts, double *&rNormals, int &rNumFaces, int *&rFaceCounts, int *&rFaces)
 Load a SIMM bone from file.


Static Public Attributes

const double PI = acos(-1.0)
const double RTD
const double DTR
const double SMALL
const double ZERO
const double NAN
const double INF


Detailed Description

This class provides basic math functions and constants.


Member Function Documentation

int rdSIMMUtilities::LoadBone const char *  aFileName,
double  rBoundingBox[6],
int &  rNumVert,
double *&  rVerts,
double *&  rNormals,
int &  rNumFaces,
int *&  rFaceCounts,
int *&  rFaces
[static]
 

Load a SIMM bone from file.

The file must be in ASCII format.

Memory for the vertices, normals, face counts, and faces is allocated. The caller is responsible for deleting this memory.

Parameters:
aFileName File name.
rBoundingBox Bounding box (xmin, xmax, ymin, ymax, zmin, zmax).
rNumVerts Number of vertices.
rVerts Vertices.
rNormals Normals at the vertices.
rNumFaces Number of faces or polygons.
rFaceCounts Number of vertices in each face.
rFaces List of vertices in each face.
Returns:
Total number of face connections.


The documentation for this class was generated from the following files:
Generated on Wed Aug 20 02:17:12 2003 for Simulation Software by doxygen1.3