IndexUtil::OrientTriEdgeAndFindOtherVtx

Assuming [Vertex1,Vertex2] is an unordered edge in TriangleVerts, return Vertex1 and Vertex2 in the correct order (ie the same as TriangleVerts), and returns the vertex ID of the other vertex

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/IndexUtil.h

Include

#include "Util/IndexUtil.h"

Syntax

namespace IndexUtil
{
    template<typename T, typename Vec>
    int IndexUtil::OrientTriEdgeAndFindOtherVtx
    (
        T & Vertex1,
        T & Vertex2,
        const Vec & TriangleVerts
    )
}

Remarks

Assuming [Vertex1,Vertex2] is an unordered edge in TriangleVerts, return Vertex1 and Vertex2 in the correct order (ie the same as TriangleVerts), and returns the vertex ID of the other vertex

Returns

ID of third vertex, or InvalidID if the edge was not found

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss