IndexUtil::FindTriOtherIndex

Find ordered edge [VertexID1,VertexID2] in TriangleVerts and then return the index of the remaining third 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::FindTriOtherIndex
    (
        T VertexID1,
        T VertexID2,
        const Vec & TriangleVerts
    )
}

Remarks

Find ordered edge [VertexID1,VertexID2] in TriangleVerts and then return the index of the remaining third vertex

Returns

index of third vertex, or InvalidID if 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