/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshWeights.h
Compute cotan-weighted blend for a vertex one-ring, with some weight analysis/clamping to avoid vertices getting "stuck" in explicit integration/iterations. If failure is detected, Uniform centroid is returned, which does cause some tangential flow. Equivalent toCotanCentroidSafe()if the weights are used to blend vertex positions, but can be used to weight other properties.
static void CotanWeightsBlendSafe ( const [FDynamicMesh3](API\Runtime\GeometryCore\DynamicMesh\FDynamicMesh3) & Mesh, int32 VertexIndex, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< void(int32, double)> BlendingFunc, double DegenerateTol, bool * bFailedToUniform )