opensurgsim
|
Triangle data for testing, storing ID and edge IDs. More...
#include <MockObjects.h>
Public Member Functions | |
MockTriangleData (size_t id, const std::array< size_t, 3 > &edges) | |
Constructor. More... | |
MockTriangleData () | |
Constructor. | |
virtual | ~MockTriangleData () |
Destructor. | |
size_t | getId () const |
Gets the triangle's unique ID in its mesh. | |
const std::array< size_t, 3 > & | getEdges () const |
Gets the IDs of the triangle's edges in its mesh. | |
bool | operator== (const MockTriangleData &data) const |
Compare the triangle data to another one (equality) More... | |
Triangle data for testing, storing ID and edge IDs.
|
inline |
Constructor.
id | Unique ID of the triangle in its mesh |
edges | IDs of the triangle's edges in its mesh |
|
inline |
Compare the triangle data to another one (equality)
data | The MockTriangleData to compare it to |