Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Util
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Util/IteratorUtil.h |
| Include | #include "Util/IteratorUtil.h" |
Syntax
template<typename InputIteratorT>
class TPairExpandIterator
Remarks
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
Variables
| Type | Name | Description | |
|---|---|---|---|
| InputIteratorT | Cur | ||
| FIndex2i | CurPair | ||
| int | CurPairI | ||
| int | CurValue | ||
| InputIteratorT | End | ||
| PairExpandFunctionT | PairFunc |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TPairExpandIterator
(
const InputIteratorT& CurItr, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | goto_next () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const TPairExpandIterator& Other |
||
| int | operator* () |
||
| const TPairExpandIterator & | operator++ () |
||
| bool | operator==
(
const TPairExpandIterator& Other |
Typedefs
| Name | Description |
|---|---|
| PairExpandFunctionT |