FEDEM Solver  R8.0
Source code of the dynamics solver
Namespaces | Functions
FFaVolume.H File Reference

Volume calculation for 3D shapes. More...

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

Go to the source code of this file.

Namespaces

 FFaVolume
 A namespace with volume calculation functions for some 3D shapes.
 

Functions

void FFaVolume::tetVolume (const FaVec3 &v1, const FaVec3 &v2, const FaVec3 &v3, const FaVec3 &v4, double &vol)
 Calculates the volume of a tetrahedron. More...
 
void FFaVolume::wedVolume (const FaVec3 &v1, const FaVec3 &v2, const FaVec3 &v3, const FaVec3 &v4, const FaVec3 &v5, const FaVec3 &v6, double &vol)
 Calculates the volume of a wedge. More...
 
void FFaVolume::hexVolume (const FaVec3 &v1, const FaVec3 &v2, const FaVec3 &v3, const FaVec3 &v4, const FaVec3 &v5, const FaVec3 &v6, const FaVec3 &v7, const FaVec3 &v8, double &vol)
 Calculates the volume of a hexahedron. More...
 
double FFaVolume::tetCenter (FaVec3 &v1, FaVec3 &v2, FaVec3 &v3, FaVec3 &v4, FaVec3 &vc)
 Calculates the volume and volume center of a tetrahedron. More...
 
double FFaVolume::wedCenter (FaVec3 &v1, FaVec3 &v2, FaVec3 &v3, FaVec3 &v4, FaVec3 &v5, FaVec3 &v6, FaVec3 &vc)
 Calculates the volume and volume center of a wedge. More...
 
double FFaVolume::hexCenter (FaVec3 &v1, FaVec3 &v2, FaVec3 &v3, FaVec3 &v4, FaVec3 &v5, FaVec3 &v6, FaVec3 &v7, FaVec3 &v8, FaVec3 &vc)
 Calculates the volume and volume center of a hexahedron. More...
 
void FFaVolume::tetMoment (const FaVec3 &v1, const FaVec3 &v2, const FaVec3 &v3, const FaVec3 &v4, FFaTensor3 &vm)
 Calculates the volume moment of intertia of a tetrahedron. More...
 
void FFaVolume::wedMoment (const FaVec3 &v1, const FaVec3 &v2, const FaVec3 &v3, const FaVec3 &v4, const FaVec3 &v5, const FaVec3 &v6, FFaTensor3 &vm)
 Calculates the volume moment of intertia of a wedge. More...
 
void FFaVolume::hexMoment (const FaVec3 &v1, const FaVec3 &v2, const FaVec3 &v3, const FaVec3 &v4, const FaVec3 &v5, const FaVec3 &v6, const FaVec3 &v7, const FaVec3 &v8, FFaTensor3 &vm)
 Calculates the volume moment of intertia of a hexahedron. More...
 

Detailed Description

Volume calculation for 3D shapes.