Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshMeshCut.h |
Include |
#include "Operations/MeshMeshCut.h" |
class FMeshMeshCut
Cut a mesh where it crosses a second mesh resolving all intersections, but not deleting geometry. Optionally resolve intersections mutually for both meshes.
Name | Description | ||
---|---|---|---|
|
bCutCoplanar |
If true, detect coplanar faces and re-triangulate so that the triangulations match 1:1 (TODO: not implemented!) |
|
|
bMutuallyCut |
If true, modify both meshes to split at crossing points; otherwise only modify MeshA |
|
|
bTrackInsertedVertices |
If true, record vertex insertions |
|
|
FDynamicMesh3 &... |
Mesh |
InputsMeshes to cut |
|
TArray< int >[2... |
SegmentToChain |
For each intersection segment, where the corresponding elements start in VertexChains. |
|
double |
SnapTolerance |
Tolerance distance for considering a point to be on a vertex, edge or plane |
|
TArray< int >[2... |
VertexChains |
Outputs Packed chains of vertex IDs, representing the vertices for each segment in the mesh Packed as the number of vertices in that chain, followed by that many vertex ids, per segment NOT 1:1 w/ segments; some segments may have failed to insert |
Name | Description | |
---|---|---|
|
FMeshMeshCut ( |
Name | Description | ||
---|---|---|---|
|
Cut ( |
Split mesh(es) along the provided intersections |
|
|
ResetOutputs() |
||
|
EOperationVa... |
Validate() |