FPlanarFlipsOptimization

If both triangles on an edge are coplanar, we can arbitrarily flip the interior edge to improve triangle quality.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/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

Name Description

Public variable

FDynamicMesh3 &...

 

Mesh

Public variable

int32

 

NumPasses

Public variable

double

 

PlanarDotThresh

Constructors

Name Description

Public function

FPlanarFlipsOptimization

(
    FDynamicMesh3* MeshIn,
    int32 NumPassesIn,
    double PlanarDotThreshIn
)

Functions

Name Description

Public function

void

 

Apply()

Apply the operation to the mesh.

Protected function

void

 

ApplySinglePass()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss