17 bool * outFlipped =
nullptr )
21 auto checkSwap = [
this, &flipped](
int i,
int j )
35 *outFlipped = flipped;
56struct hash<
MR::UnorientedTriangle>
61 2 * size_t( triplet.
verts[0] ) +
62 3 * size_t( triplet.
verts[1] ) +
63 5 * size_t( triplet.
verts[2] );
Definition MRCameraOrientationPlugin.h:8
std::array< VertId, 3 > ThreeVertIds
three vertex ids describing a triangle topology
Definition MRMesh/MRMeshFwd.h:383
Definition MRUnorientedTriangle.h:13
const VertId & operator[](std::size_t i) const
Definition MRUnorientedTriangle.h:45
VertId & operator[](std::size_t i)
Definition MRUnorientedTriangle.h:44
friend bool operator==(const UnorientedTriangle &a, const UnorientedTriangle &b)=default
ThreeVertIds verts
Definition MRUnorientedTriangle.h:14
ThreeVertIds getFlipped() const
returns this triangle with the opposite orientation
Definition MRUnorientedTriangle.h:39
UnorientedTriangle(const ThreeVertIds &inVs, bool *outFlipped=nullptr)
Definition MRUnorientedTriangle.h:16