IndexUtil::FindTriOtherVtxUnsafe

Find third vertex of triangle that is not VertexID1 or VertexID2.

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::FindTriOtherVtxUnsafe
    (
        T VertexID1,
        T VertexID2,
        const Vec & TriangleVerts
    )
}

Remarks

Find third vertex of triangle that is not VertexID1 or VertexID2. Triangle must contain VertexID1 and VertexID2 or result will be incorrect.

Returns

VertexID of third vertex, or incorrect result if precondition is not met

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