Programmer's Documentation

Public Member Functions | Private Attributes | List of all members
TetElement Class Reference

Detailed Description

Element in a pure tetrahdral mesh.


#include <tetmesh.h>

Public Member Functions

 TetElement ()
 empty, undefined tet element
 TetElement (const uint vi[4])
 create defined tet element
 TetElement (uint a, uint b, uint c, uint d)
 create defined tet element
const uint * vertices () const
 access nodes
uint * vertices ()
 access nodes
bool operator< (const TetElement &a) const
 defines a unique ordering
bool operator== (const TetElement &a) const
 identical indices
bool cuts (const PointList< 3 > &vtx, const Plane &p) const
 check if plane cuts element
void addFaces (TriMesh &m) const
 add element faces to triangular mesh

Private Attributes

uint v [4]
 vertex indices

The documentation for this class was generated from the following files:
Generated on Mon Jan 24 2022 03:03:20 for libsurf by   doxygen 1.8.5