A struct representing a quad in the mesh.
More...
#include <quad.h>
|
| bool | containsEdge (size_t v1, size_t v2) const |
| | Check if the circum circle of the quad contains a specific edge defined by two vertex indices.
|
| bool | operator== (const Quad &other) const |
| | Overload the == operator to compare two quads based on their vertex indices.
|
|
|
std::array< size_t, 4 > | v |
| | Indices of the vertices that form the quad.
|
|
|
static constexpr size_t | elementType = 3 |
| | Gmsh element type for quads.
|
|
static constexpr size_t | numVertices = 4 |
| | Number of vertices in a quad.
|
A struct representing a quad in the mesh.
◆ containsEdge()
| bool Enmesh::Quad::containsEdge |
( |
size_t | v1, |
|
|
size_t | v2 ) const |
Check if the circum circle of the quad contains a specific edge defined by two vertex indices.
- Parameters
-
| v1 | index of the first vertex of the edge |
| v2 | index of the second vertex of the edge |
◆ operator==()
| bool Enmesh::Quad::operator== |
( |
const Quad & | other | ) |
const |
|
inline |
Overload the == operator to compare two quads based on their vertex indices.
- Parameters
-
| other | The quad to compare with |
- Returns
- true if the quads have the same vertex indices (regardless of order), false otherwise
The documentation for this struct was generated from the following files:
- include/Enmesh/geometry/quad.h
- src/geometry/quad.cpp