/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/MeshRegionGraph.h
Optimize region borders by swapping triangles. The swap criteria is, if 2/3 of the neighbours of a given Triangle in region A are both in region B, swap it to region B. This swapping process is repeated in rounds, MaxRounds times.
true if any swaps were applied
bool OptimizeBorders ( int32 MaxRounds )