opensurgsim
|
MockTriangle class used in the unit tests. More...
#include <MockTriangle.h>
Public Member Functions | |
MockTriangle (const Vector3d &vertex0, const Vector3d &vertex1, const Vector3d &vertex2) | |
MockTriangle (const Vector3d &vertex0, const Vector3d &vertex1, const Vector3d &vertex2, const Vector3d &normal) | |
Vector3d | pointInTriangle (double a, double b) const |
void | translate (const Vector3d &v) |
void | rotateAboutXBy (double angle) |
void | rotateAboutYBy (double angle) |
void | rotateAboutZBy (double angle) |
void | transform (SurgSim::Math::RigidTransform3d transform) |
Public Attributes | |
Vector3d | v0 |
Vector3d | v1 |
Vector3d | v2 |
Vector3d | v0v1 |
Vector3d | v0v2 |
Vector3d | v1v2 |
Vector3d | n |
MockTriangle class used in the unit tests.