VolumeIntersection.h File Reference
#include "mat_vec_fns_II.h"

Go to the source code of this file.

Functions

template<class t_scalar , class brr3 >
t_scalar volumeIntersection (brr3(&tetA)[4], brr3(&tetB)[4], bool calcCM, brr3 &cm)
 
template<class t_scalar , class brr3 >
t_scalar volumeIntersectionII (brr3 &tetA0, brr3 &tetA1, brr3 &tetA2, brr3 &tetA3, brr3 &tetB0, brr3 &tetB1, brr3 &tetB2, brr3 &tetB3, bool calcCM, brr3 &cm)
 
template<class t_scalar , class brr3 >
void volumeAndAreaIntersection (brr3(&tetA)[4], brr3(&tetB)[4], t_scalar &vol, t_scalar &area)
 

Function Documentation

◆ volumeAndAreaIntersection()

template<class t_scalar , class brr3 >
void volumeAndAreaIntersection ( brr3(&)  tetA[4],
brr3(&)  tetB[4],
t_scalar &  vol,
t_scalar &  area 
)

return the the overlapping volume between tetrahedra tetA and tetB, and the area enclosing this volume

Return the volume and area of intersection between two tetrahedra

◆ volumeIntersection()

template<class t_scalar , class brr3 >
t_scalar volumeIntersection ( brr3(&)  tetA[4],
brr3(&)  tetB[4],
bool  calcCM,
brr3 &  cm 
)

return the the overlapping volume between tetrahedra tetA and tetB

Return the volume intersection between two tetrahedra

◆ volumeIntersectionII()

template<class t_scalar , class brr3 >
t_scalar volumeIntersectionII ( brr3 &  tetA0,
brr3 &  tetA1,
brr3 &  tetA2,
brr3 &  tetA3,
brr3 &  tetB0,
brr3 &  tetB1,
brr3 &  tetB2,
brr3 &  tetB3,
bool  calcCM,
brr3 &  cm 
)

Return the volume intersection between two tetrahedra