![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IteratorUtil.h>
Public Member Functions | |
| TPairExpandIterator () | |
| bool | operator== (const TPairExpandIterator &Other) const |
| bool | operator!= (const TPairExpandIterator &Other) const |
| int | operator* () const |
| const TPairExpandIterator & | operator++ () |
| 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 |
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
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| InputIteratorT UE::Geometry::TPairExpandIterator< InputIteratorT >::Cur |
| FIndex2i UE::Geometry::TPairExpandIterator< InputIteratorT >::CurPair |
| int UE::Geometry::TPairExpandIterator< InputIteratorT >::CurPairI |
| int UE::Geometry::TPairExpandIterator< InputIteratorT >::CurValue |
| InputIteratorT UE::Geometry::TPairExpandIterator< InputIteratorT >::End |
| PairExpandFunctionT UE::Geometry::TPairExpandIterator< InputIteratorT >::PairFunc |