Surface triangle of tetrahedral mesh with adjacency information.
More...
#include <Urho3D/Math/TetrahedralMesh.h>
|
|
bool | HasNeighbor (unsigned neighborIndex) const |
| | Return whether the triangle has given neighbour.
|
|
void | Normalize (const ea::vector< Vector3 > &vertices) |
| | Normalize triangle indices so (p2 - p1) x (p3 - p1) is the normal.
|
|
float | CalculateScore (const ea::vector< Vector3 > &vertices) const |
| | Calculate the ratio between longest and shortest side of the triangle.
|
|
|
unsigned | indices_ [3] {} |
| | Indices of triangle vertices.
|
|
unsigned | unusedIndex_ { M_MAX_UNSIGNED } |
| | Index of the 4th vertex of underlying tetrahedron. Unspecified if there's no underlying tetrahedron.
|
|
unsigned | neighbors_ [3] { M_MAX_UNSIGNED, M_MAX_UNSIGNED, M_MAX_UNSIGNED} |
| | Indices of neighbor triangles.
|
|
unsigned | tetIndex_ { M_MAX_UNSIGNED } |
| | Index of underlying tetrahedron. M_MAX_UNSIGNED if empty.
|
|
unsigned | tetFace_ {} |
| | Face of underlying tetrahedron, from 0 to 3.
|
Surface triangle of tetrahedral mesh with adjacency information.
The documentation for this struct was generated from the following file:
- Urho3D/Math/TetrahedralMesh.h