FMeshBoolean::CollapseWouldHurtTriangleQuality

Test if a given edge collapse would cause a triangle flip or other unacceptable decrease in mesh quality Specialized for collapsing at flat triangles TODO: Currently this only detects triangle flips; need to extend it to also detect other mesh quality issues

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshBoolean.h

Include

#include "Operations/MeshBoolean.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/Operations/MeshBoolean.cpp

Syntax

static bool CollapseWouldHurtTriangleQuality
(
    const FDynamicMesh3 & Mesh,
    const FVector3d & ExpectNormal,
    int32 RemoveV,
    const FVector3d & RemoveVPos,
    int32 KeepV,
    const FVector3d & KeepVPos,
    double TryToImproveTriQualityThreshold
)

Remarks

Test if a given edge collapse would cause a triangle flip or other unacceptable decrease in mesh quality Specialized for collapsing at flat triangles TODO: Currently this only detects triangle flips; need to extend it to also detect other mesh quality issues

Test if a given edge collapse would cause a triangle flip or other unacceptable decrease in mesh quality

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