#include <MgcIntr3DTetrTetr.h>
Public Member Functions | |
TetrahedronVolumeConsumer () | |
void | Add (const Tetrahedron &kT2) |
Take this tet. | |
operator double () | |
Private Member Functions | |
double | tetVolume (const Vector3 &A, const Vector3 &B, const Vector3 &C, const Vector3 &D) |
Return the volume of the tetrahedron with these vertices. | |
Private Attributes | |
double | volume |
Definition at line 36 of file MgcIntr3DTetrTetr.h.
Mgc::TetrahedronVolumeConsumer::TetrahedronVolumeConsumer | ( | ) | [inline] |
Definition at line 48 of file MgcIntr3DTetrTetr.h.
double Mgc::TetrahedronVolumeConsumer::tetVolume | ( | const Vector3 & | A, | |
const Vector3 & | B, | |||
const Vector3 & | C, | |||
const Vector3 & | D | |||
) | [inline, private] |
Return the volume of the tetrahedron with these vertices.
Definition at line 41 of file MgcIntr3DTetrTetr.h.
Referenced by Add().
void Mgc::TetrahedronVolumeConsumer::Add | ( | const Tetrahedron & | tet | ) | [inline, virtual] |
Take this tet.
Implements Mgc::TetrahedronConsumer.
Definition at line 49 of file MgcIntr3DTetrTetr.h.
References tetVolume(), and volume.
Mgc::TetrahedronVolumeConsumer::operator double | ( | ) | [inline] |
double Mgc::TetrahedronVolumeConsumer::volume [private] |