UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IndexUtil.h File Reference
#include "Containers/Array.h"
#include "GeometryBase.h"
#include "IndexTypes.h"
#include "IntVectorTypes.h"
#include "Math/MathFwd.h"
#include "Math/Vector.h"
#include "Util/DynamicVector.h"
#include "VectorTypes.h"

Go to the source code of this file.

Namespaces

namespace  IndexUtil
 

Functions

template<typename T >
bool IndexUtil::SamePairUnordered (T a0, T a1, T b0, T b1)
 
int IndexUtil::FindSharedEdgeVertex (const FIndex2i &EdgeVerts1, const FIndex2i &EdgeVerts2)
 
int IndexUtil::FindEdgeOtherVertex (const FIndex2i &EdgeVerts, int VertexID)
 
template<typename T , typename Vec >
int IndexUtil::FindTriIndex (T VertexID, const Vec &TriangleVerts)
 
template<typename T , typename Vec >
int IndexUtil::FindEdgeIndexInTri (T VertexID1, T VertexID2, const Vec &TriangleVerts)
 
template<typename T , typename Vec >
int IndexUtil::FindTriOrderedEdge (T VertexID1, T VertexID2, const Vec &TriangleVerts)
 
template<typename T , typename Vec >
int IndexUtil::FindTriOtherVtxUnsafe (T VertexID1, T VertexID2, const Vec &TriangleVerts)
 
template<typename T , typename Vec >
int IndexUtil::FindTriOtherVtx (T VertexID1, T VertexID2, const Vec &TriangleVerts)
 
int IndexUtil::FindTriOtherVtx (int VertexID1, int VertexID2, const TDynamicVector< FIndex3i > &TriIndexArray, int TriangleIndex)
 
template<typename T , typename Vec >
int IndexUtil::FindTriOtherIndex (T VertexID1, T VertexID2, const Vec &TriangleVerts)
 
int IndexUtil::GetOtherTriIndex (int i0, int i1)
 
template<typename T , typename Vec >
bool IndexUtil::OrientTriEdge (T &Vertex1, T &Vertex2, const Vec &TriangleVerts)
 
template<typename T , typename Vec >
int IndexUtil::OrientTriEdgeAndFindOtherVtx (T &Vertex1, T &Vertex2, const Vec &TriangleVerts)
 
template<typename Func >
void IndexUtil::ApplyMap (FIndex3i &Val, Func MapFunc)
 
template<typename T , typename Func >
void IndexUtil::ApplyMap (UE::Math::TVector< T > &Val, Func MapFunc)
 
template<typename Func >
FIndex3i IndexUtil::ApplyMap (const FIndex3i &Val, Func MapFunc)
 
template<typename T , typename Func >
UE::Math::TVector< T > IndexUtil::ApplyMap (const UE::Math::TVector< T > &Val, Func MapFunc)
 
template<typename T , typename Func >
bool IndexUtil::ArrayCheck (const TArray< T > &ToCheck, Func CheckFn)
 

Variables

GEOMETRYCORE_API const FVector2i IndexUtil::GridOffsets4 [4]
 
GEOMETRYCORE_API const FVector2i IndexUtil::GridOffsets8 [8]
 
GEOMETRYCORE_API const FVector3i IndexUtil::GridOffsets6 [6]
 
GEOMETRYCORE_API const FVector3i IndexUtil::GridOffsets26 [26]
 
GEOMETRYCORE_API const int IndexUtil::BoxFaces [6][4]
 
GEOMETRYCORE_API const FVector2i IndexUtil::BoxFacesUV [4] = { UV00, UV10, UV11, UV01 }
 
GEOMETRYCORE_API const int IndexUtil::BoxFaceNormals [6] = { -3, 3, -1, 1, -2, 2 }