Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
wmtk::TriMesh::TriangleConnectivity Class Reference

#include <TriMesh.h>

Public Member Functions

size_t & operator[] (size_t index)
 
size_t operator[] (size_t index) const
 
int find (size_t v_id) const
 

Public Attributes

std::array< size_t, 3 > m_indices
 incident vertices of a given triangle
 
bool m_is_removed = false
 is the triangle removed
 
size_t hash = 0
 the hash is changed every time there is an operation that influences the triangle
 

Detailed Description

(internal use) Maintains a list of vertices of the given triangle

Member Function Documentation

◆ find()

int wmtk::TriMesh::TriangleConnectivity::find ( size_t  v_id) const
inline
Parameters
vidglobal
Returns
local vid of the vertex given the triangle
-1 if the vertex is not incident to the triangle

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