UE::MeshDeformation::ComputeSmoothing_Diffusion

This is equivalent to forward or backward Euler time steps of the diffusion equation

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Solvers/MeshSmoothing.h

Include

#include "Solvers/MeshSmoothing.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/Solvers/MeshSmoothing.cpp

Syntax

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
        )
    }
}

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss