|
Rebel Fork Framework
|
Tetrahedron with adjacency information. More...
#include <Urho3D/Math/TetrahedralMesh.h>
Public Member Functions | |
| void | CalculateInnerMatrix (const ea::vector< Vector3 > &vertices) |
| Calculate matrix for valid inner tetrahedron. | |
| void | GetTriangleFaceIndices (unsigned faceIndex, unsigned(&indices)[3]) const |
| Return indices of specified triangle face of the tetrahedron. | |
| TetrahedralMeshSurfaceTriangle | GetTriangleFace (unsigned faceIndex, unsigned tetIndex, unsigned tetFace) const |
| Return triangle face of the tetrahedron. Adjacency information is left uninitialized. | |
| unsigned | GetNeighborFaceIndex (unsigned neighborTetIndex) const |
| Return face index corresponding to given neighbor. Return 4 if not found. | |
| bool | HasNeighbor (unsigned neighborTetIndex) const |
| Return whether the tetrahedron has given neighbour. | |
Public Attributes | |
| unsigned | indices_ [4] {} |
| Indices of tetrahedron vertices. | |
| unsigned | neighbors_ [4] { M_MAX_UNSIGNED, M_MAX_UNSIGNED, M_MAX_UNSIGNED, M_MAX_UNSIGNED } |
| Indices of neighbor tetrahedrons. M_MAX_UNSIGNED if empty. | |
| Matrix3x4 | matrix_ |
| Pre-computed matrix for calculating barycentric coordinates. | |
Tetrahedron with adjacency information.