Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/PlanarFlipsOptimization.h |
| Include | #include "Operations/PlanarFlipsOptimization.h" |
Syntax
class FPlanarFlipsOptimization
Remarks
If both triangles on an edge are coplanar, we can arbitrarily flip the interior edge to improve triangle quality. Similarly if one triangle on an edge is degenerate, we can flip the edge without affecting the shape to try to remove it. This code does one or more passes of such an optimization.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bRespectGroupBoundaries | ||
| FDynamicMesh3 * | Mesh | ||
| int32 | NumPasses | ||
| double | PlanarDotThresh |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPlanarFlipsOptimization
(
FDynamicMesh3* MeshIn, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Apply () |
Apply the operation to the mesh. | |
| void |