Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Description
This is equivalent to forward or backward Euler time steps of the diffusion equation
dp/dt = L[p]
p^{n+1} = p^{n} + dt L[p^{n}]
with dt = Speed / Max(|w_ii|)
here w_ii are the diagonal values of L Note: if canceled using the optional FProgressCancel, the results may be in an unusable state.
| Name | UE::MeshDeformation::ComputeSmoothing_Diffusion |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Solvers/MeshSmoothing.h |
| Include Path | #include "Solvers/MeshSmoothing.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Solvers/MeshSmoothing.cpp |
namespace UE
{
namespace MeshDeformation
{
void UE::MeshDeformation::ComputeSmoothing_Diffusion
(
const ELaplacianWeightScheme WeightScheme,
const FDynamicMesh3 & OriginalMesh,
bool bForwardEuler,
const double Speed,
double Weight,
const int32 NumIterations,
TArray < FVector3d > & PositionArray,
FProgressCancel * Progress
)
}
}