Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/WeldEdgeSequence.h |
| Include | #include "Operations/WeldEdgeSequence.h" |
Syntax
class FWeldEdgeSequence
Remarks
Weld a pair of group edges.
User can optionally allow triangle deletion which handles cases where the group edges are connected by an edge at the end points.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAllowFailedMerge | When true, failed calls to MergeEdges() will be handled by moving the edges without merging such that the final result appears to be welded but has invisible seam(s) instead of just failing. | |
| bool | bAllowIntermediateTriangleDeletion | Whether triangle deletion is allowed in order to merge edges which are connected by a different edge This specifically determines how CheckForAndCollapseSideTriangles() behaves | |
| FEdgeSpan | EdgeSpanToDiscard | ||
| FEdgeSpan | EdgeSpanToKeep | ||
| FDynamicMesh3 * | Mesh | Inputs/Outputs | |
| TArray< TPair< int, int > > | UnmergedEdgePairsOut | This is populated with pairs of eids which were not able to be merged. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWeldEdgeSequence
(
FDynamicMesh3* Mesh, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| EWeldResult | Checks for edges between terminating vertices of the input spans and attempts to delete them if possible by deleting the adjacent triangle. | ||
| EWeldResult | CheckInput () |
Verifies validity of input edges by ensuring they are correctly-oriented boundary edges | |
| EWeldResult | Splits largest edges of the span with fewest vertices so that both input spans have an equal number of vertices and edges after | ||
| EWeldResult | Weld () |
Alters the existing mesh by welding two edge sequences, preserving sequence A. | |
| EWeldResult | Welds edge sequence together |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EWeldResult |