Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/IteratorUtil.h |
Include |
#include "Util/IteratorUtil.h" |
template<typename InputIteratorT>
class TPairExpandIterator
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
Name | Description | ||
---|---|---|---|
|
InputIteratorT |
Cur |
|
|
CurPair |
||
|
int |
CurPairI |
|
|
int |
CurValue |
|
|
InputIteratorT |
End |
|
|
PairFunc |
Name | Description | |
---|---|---|
|
TPairExpandIterator() |
|
|
TPairExpandIterator ( |
Name | Description | ||
---|---|---|---|
|
goto_next() |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
int |
operator*() |
|
|
const TPairE... |
operator++() |
|
|
operator== ( |
Name |
Description |
---|---|
PairExpandFunctionT |