UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TPairExpandIterator< InputIteratorT > Class Template Reference

#include <IteratorUtil.h>

Public Member Functions

 TPairExpandIterator ()
 
bool operator== (const TPairExpandIterator &Other) const
 
bool operator!= (const TPairExpandIterator &Other) const
 
int operator* () const
 
const TPairExpandIteratoroperator++ ()
 
void goto_next ()
 
 TPairExpandIterator (const InputIteratorT &CurItr, const InputIteratorT &EndItr, const PairExpandFunctionT &PairFuncIn)
 

Public Attributes

InputIteratorT Cur
 
InputIteratorT End
 
FIndex2i CurPair
 
int CurValue
 
int CurPairI
 
PairExpandFunctionT PairFunc
 

Detailed Description

template<typename InputIteratorT>
class UE::Geometry::TPairExpandIterator< InputIteratorT >

Wrapper around existing integer iterator that returns either 0, 1, or 2 integers for each value that the original iterator returns.

This is specifically used by FDynamicMesh3::VtxTrianglesItr, where for each edge around a vertex, between 0 and 2 triangles need to be returned.

This is done via the PairExpandFunctionT TFunction, which returns a FIndex2i for a given integer. This pair must be either (a,invalid), (a, b), or (invalid, invalid), where invalid is integer < 0

Constructor & Destructor Documentation

◆ TPairExpandIterator() [1/2]

UE::Geometry::TPairExpandIterator< InputIteratorT >::TPairExpandIterator ( )
inline

◆ TPairExpandIterator() [2/2]

UE::Geometry::TPairExpandIterator< InputIteratorT >::TPairExpandIterator ( const InputIteratorT CurItr,
const InputIteratorT EndItr,
const PairExpandFunctionT PairFuncIn 
)
inline

Member Function Documentation

◆ goto_next()

◆ operator!=()

◆ operator*()

int UE::Geometry::TPairExpandIterator< InputIteratorT >::operator* ( ) const
inline

◆ operator++()

◆ operator==()

Member Data Documentation

◆ Cur

◆ CurPair

◆ CurPairI

◆ CurValue

◆ End

◆ PairFunc


The documentation for this class was generated from the following file: