Tetrahedron data for testing, storing ID and edge IDs, triangle IDs.
More...
#include <MockObjects.h>
|
| MockTetrahedronData (size_t id, const std::array< size_t, 6 > &edges, const std::array< size_t, 4 > &triangles) |
| Constructor. More...
|
|
virtual | ~MockTetrahedronData () |
| Destructor.
|
|
size_t | getId () const |
| Gets the tetrahedron's unique ID in its mesh.
|
|
const std::array< size_t, 6 > & | getEdges () const |
| Gets the IDs of the tetrahedron's edges in its mesh.
|
|
const std::array< size_t, 4 > & | getTriangles () const |
| Gets the IDs of the tetrahedron's triangles in its mesh.
|
|
bool | operator== (const MockTetrahedronData &data) const |
| Compare the tetrahedron data (equality) More...
|
|
Tetrahedron data for testing, storing ID and edge IDs, triangle IDs.
§ MockTetrahedronData()
MockTetrahedronData::MockTetrahedronData |
( |
size_t |
id, |
|
|
const std::array< size_t, 6 > & |
edges, |
|
|
const std::array< size_t, 4 > & |
triangles |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
id | Unique ID of the tetrahedron in its mesh |
edges | IDs of the tetrahedron's edges in its mesh (6 edges) |
triangles | IDs of the tetrahedron's triangles in its mesh (4 triangles) |
§ operator==()
Compare the tetrahedron data (equality)
- Parameters
-
- Returns
- True if the two tetrahedron data are equals, False otherwise
The documentation for this class was generated from the following file: