|
Mesh_analyzer
|
A struct representing a triangle in the mesh. More...
#include <triangle.h>
Public Member Functions | |
| bool | containsEdge (int v1, int v2) const |
| Check if the triangle contains a specific edge defined by two vertex indices. | |
| bool | containsPoint (const std::vector< Point > &vertices, const Point &P) |
| Check if the circum circle of the triangle contains a specific point. | |
Public Attributes | |
| std::array< int, 3 > | v |
| Indices of the vertices that form the triangle. | |
| bool | isBad = false |
| Flag used in Delaunay triangulation to mark triangles that need to be removed. | |
A struct representing a triangle in the mesh.
| bool Triangle::containsEdge | ( | int | v1, |
| int | v2 ) const |
Check if the triangle contains a specific edge defined by two vertex indices.
| v1 | index of the first vertex of the edge |
| v2 | index of the second vertex of the edge |
Check if the circum circle of the triangle contains a specific point.
| vertices | The list of vertices in the mesh |
| P | The point to check |