#include <MRUnorientedTriangle.h>
Public Member Functions | |
| UnorientedTriangle (const ThreeVertIds &inVs, bool *outFlipped=nullptr) | |
| ThreeVertIds | getFlipped () const |
| returns this triangle with the opposite orientation | |
| operator ThreeVertIds & () | |
| operator const ThreeVertIds & () const | |
| VertId & | operator[] (std::size_t i) |
| const VertId & | operator[] (std::size_t i) const |
Public Attributes | |
| ThreeVertIds | verts {} |
Friends | |
| bool | operator== (const UnorientedTriangle &a, const UnorientedTriangle &b)=default |
describes a triangle as three vertex IDs sorted in a way to quickly find same triangles irrespective of vertex order (clockwise or counterclockwise)
|
inline |
| outFlipped | optional output: true if the orientation of the triangle has flipped |
|
inline |
returns this triangle with the opposite orientation
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
| ThreeVertIds MR::UnorientedTriangle::verts {} |