| FElementLinearization
|
Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/ElementLinearization.h |
Include |
#include "Util/ElementLinearization.h" |
class FElementLinearization
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.
Name | Description | |
---|---|---|
|
FElementLinearization() |
Name | Description | ||
---|---|---|---|
|
Empty() |
||
|
GetId ( |
||
|
GetIndex ( |
||
|
IsValidId ( |
||
|
IsValidIndex ( |
||
|
MaxId() |
Following the FDynamicMesh3 convention this is really MaxId + 1. |
|
|
NumIds() |
||
|
NumIndices() |
||
|
Populate |
||
|
const TArray... |
ToId() |
Lookup ToVtxId(Index) = VtxId;. |
|
const TArray... |
ToIndex() |
Lookup ToIndex(VtxId) = Index; may return FDynamicMesh3::InvalidID. |