IndexUtil::FindTriOtherVtx

Find ordered edge [VertexID1,VertexID2] in a triangle that is in an array of triangles, and return 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>
    int IndexUtil::FindTriOtherVtx
    (
        T VertexID1,
        T VertexID2,
        const TDynamicVector< T > & TriIndexArray,
        T TriangleIndex
    )
}

Remarks

Find ordered edge [VertexID1,VertexID2] in a triangle that is in an array of triangles, and return remaining third vertex

Returns

vertex id of other vertex, or InvalidID if not found

Parameters

Parameter

Description

VertexID1

first vertex of edge

VertexID2

second vertex of edge

TriIndexArray

array of triangle tuples

TriangleIndex

which triangle in array to search

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