/Engine/Plugins/Experimental/ChaosClothAsset/Source/ChaosClothAsset/Public/ChaosClothAsset/ClothGeometryTools.h
Remove (topologically) degenerate triangles. Remove any vertices that aren't in a triangle. Compact any lookup arrays that contain INDEX_NONEs. Remove any empty patterns.
static void CleanupAndCompactMesh ( const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [FManagedArrayCollection](API\Runtime\Chaos\GeometryCollection\FManagedArrayCollection) > & ClothCollection )