Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMesh3.h |
Include |
#include "DynamicMesh3.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMesh3_Edits.cpp |
virtual EMeshResult MergeEdges
(
int KeepEdgeID,
int DiscardEdgeID,
FMergeEdgesInfo & MergeInfo
)
Given two edges of the mesh, weld both their vertices, so that one edge is removed. This could result in one neighbour edge-pair attached to each vertex also collapsing, so those cases are detected and handled (eg middle edge-pair in abysmal ascii drawing below)
.... (dots are vertices) ../
Ok on success, or enum value indicates why operation cannot be applied. Mesh remains unmodified on error.
Parameter |
Description |
---|---|
KeepEdgeID |
index of the edge that should be kept |
DiscardEdgeID |
index of the edge that should be removed |
MergeInfo |
returned information about new and modified mesh elements |