Biomechanical Joint Model
 Author: Anderson Maciel

moments.H File Reference

#include "matvec.H"
#include "obb.H"

Include dependency graph for moments.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  moment
struct  accum

Functions

void print_moment (moment &M)
void clear_accum (accum &a)
void accum_moment (accum &a, moment &b)
void mean_from_moment (double M[3], moment &m)
void mean_from_accum (double M[3], accum &a)
void covariance_from_accum (double C[3][3], accum &a)
void compute_moment (moment &M, double p[3], double q[3], double r[3])
void compute_moments (moment *M, tri *tris, int num_tris)


Function Documentation

void accum_moment accum a,
moment b
[inline]
 

Definition at line 45 of file moments.H.

References accum::A, moment::A, moment::m, accum::m, moment::s, and accum::s.

Referenced by RAPID_model::build_hierarchy(), reaccum_moments(), and box::split_recurse().

void clear_accum accum a  )  [inline]
 

Definition at line 34 of file moments.H.

References accum::A, accum::m, and accum::s.

Referenced by RAPID_model::build_hierarchy(), reaccum_moments(), and box::split_recurse().

void compute_moment moment M,
double  p[3],
double  q[3],
double  r[3]
[inline]
 

Definition at line 96 of file moments.H.

References moment::A, moment::m, moment::s, VcrossV(), Vlength(), and VmV().

Referenced by compute_moments().

Here is the call graph for this function:

void compute_moments moment M,
tri tris,
int  num_tris
[inline]
 

Definition at line 151 of file moments.H.

References moment::A, and compute_moment().

Referenced by RAPID_model::build_hierarchy().

Here is the call graph for this function:

void covariance_from_accum double  C[3][3],
accum a
[inline]
 

Definition at line 84 of file moments.H.

References accum::A, accum::m, and accum::s.

Referenced by RAPID_model::build_hierarchy().

void mean_from_accum double  M[3],
accum a
[inline]
 

Definition at line 75 of file moments.H.

References accum::A, and accum::m.

Referenced by RAPID_model::build_hierarchy().

void mean_from_moment double  M[3],
moment m
[inline]
 

Definition at line 66 of file moments.H.

References moment::m.

Referenced by box::split_recurse().

void print_moment moment M  )  [inline]
 

Definition at line 23 of file moments.H.

References moment::A, moment::m, and moment::s.


Generated on Thu Dec 1 10:14:11 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5