Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshResolveTJunctions.h |
| Include | #include "Operations/MeshResolveTJunctions.h" |
Syntax
class FMeshSnapOpenBoundaries
Remarks
Similar to FMeshResolveTJunctions, but does not add any vertices to the mesh. Supports running multiple snapping iterations, because snapped-to edges may move in subsequent snaps.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSet< int32 > | BoundaryEdges | Subset of mesh boundary edges (otherwise all boundary edges are processed) | |
| bool | bPreventFlips | Whether to avoid snapping in cases where doing so would locally flip a triangle | |
| bool | bSnapToEdges | Whether vertices can be snapped to edges; otherwise, vertices are only snapped to other vertices | |
| double | DistanceTolerance | Distance threshold used for various checks (eg is vertex on edge, end endpoint tolerance, etc) | |
| int32 | MaxIterations | Maximum number of snapping iterations to perform | |
| FDynamicMesh3 * | Mesh | The mesh that we are modifying | |
| int32 | NumVertexSnaps | Number of vertex snaps performed (cumulative over iterations) | |
| double | VertexSnapToleranceFactor | Scalar multiple of DistanceTolerance at which we snap a vertex directly to another vertex, rather than an edge |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshSnapOpenBoundaries
(
FDynamicMesh3* MeshIn |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Apply () |
Run the resolve operation and modify .Mesh |
Constants
| Name | Description |
|---|---|
| DEFAULT_TOLERANCE | Default tolerance is float ZeroTolerance |