Warnings
result is garbage if either vertex is not an edge in TriangleVerts
Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/IndexUtil.h |
Include |
#include "Util/IndexUtil.h" |
namespace IndexUtil
{
template<typename T, typename Vec>
bool IndexUtil::OrientTriEdge
(
T & Vertex1,
T & Vertex2,
const Vec & TriangleVerts
)
}
Assuming [Vertex1,Vertex2] is an unordered edge in TriangleVerts, return Vertex1 and Vertex2 in the correct order (ie the same as TriangleVerts)
result is garbage if either vertex is not an edge in TriangleVerts
true if order was swapped