Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Util
Inheritance Hierarchy
- FElementLinearization
- FTriangleLinearization
- FVertexLinearization
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Util/ElementLinearization.h |
| Include | #include "Util/ElementLinearization.h" |
Syntax
class FElementLinearization
Remarks
FElementLinearization maps a potentially-sparse index list into a linear array. Used linearize things like VtxIds of a mesh as a single array and allow bidirectional mapping between array offset and mesh VtxId. Linearized array offset can then be used for things like matrix row indexing when building a Laplacian matrix.
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Empty () |
||
| int32 | |||
| int32 | |||
| bool | |||
| bool | IsValidIndex
(
int32 Index |
||
| int32 | MaxId () |
Following the FDynamicMesh3 convention this is really MaxId + 1. | |
| int32 | NumIds () |
||
| int32 | NumIndices () |
||
| void | |||
| const TArray< int32 > & | ToId () |
Lookup ToVtxId(Index) = VtxId;. | |
| const TArray< int32 > & | ToIndex () |
Lookup ToIndex(VtxId) = Index; may return FDynamicMesh3::InvalidID. |