AMCAX Kernel
Geometry kernel for CAD/CAE/CAM
AMCAX Kernel 1.0.0.0
AMCAX::Meshing::Mesh::TetCell Class Reference

Simple representation of tetrahedra cells in tet mesh. It represents the general cell of mesh in topological sense. It store the adjacent relation with other mesh elements, like vertices. It doesn't store any geometrical information or other extra information. More...

#include <mesh/MeshPrimitive.hpp>

Public Types

using cv_container = typename std::array< index_t, 4 >
 
using cv_iterator = typename cv_container::iterator
 
using cv_reference = typename cv_container::reference
 
using cv_const_iterator = typename cv_container::const_iterator
 
using cv_const_reference = typename cv_container::const_reference
 

Public Member Functions

 TetCell (index_t v0, index_t v1, index_t v2, index_t v3) noexcept
 
cv_container & cv ()
 
const cv_container & cv () const
 
cv_iterator cv_begin ()
 
cv_const_iterator cv_begin () const
 
cv_iterator cv_end ()
 
cv_const_iterator cv_end () const
 
index_tcv0 ()
 
index_tcv1 ()
 
index_tcv2 ()
 
index_tcv3 ()
 
index_t cv0 () const
 
index_t cv1 () const
 
index_t cv2 () const
 
index_t cv3 () const
 
bool exist (index_t vidx) const
 

Detailed Description

Simple representation of tetrahedra cells in tet mesh. It represents the general cell of mesh in topological sense. It store the adjacent relation with other mesh elements, like vertices. It doesn't store any geometrical information or other extra information.

Note
We refer to four vertices as v0, v1, v2 and v3.
The orientation of a face is counter-clock-wise when seen from inside of the tet. In other words, the normal of a face is point towards inside. So the orientations of vertices of faces are as below: [0->1->2], [0->3->1], [1->3->2], [2->3->0].

The documentation for this class was generated from the following file: