Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshConstraintsUtil
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshConstraintsUtil.h |
| Include | #include "MeshConstraintsUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/MeshConstraintsUtil.cpp |
static void ConstrainROIBoundariesInEdgeROI
&40;
FMeshConstraints & Constraints,
const FDynamicMesh3 & Mesh,
const TSet< int > & EdgeROI,
const TSet< int > & TriangleROI,
bool bAllowSplits,
bool bAllowSmoothing
&41;
Remarks
Constrain each edge in the EdgeROI set that is incident on exactly one triangle in the TriangleROI set
Parameters
| Name | Description |
|---|---|
| Constraints | the set of constraints to add to |
| Mesh | the mesh to constrain |
| EdgeROI | set of edges to try to constrain |
| TriangleROI | set of triangles that determine whether an edge is a "boundary" |
| bAllowSplits | should we allow constrained edges to be split |
| bAllowSmoothing | should we allow constrained vertices to be smoothed |