Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshRefinerBase
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshRefinerBase.h |
| Include | #include "MeshRefinerBase.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/MeshRefinerBase.cpp |
bool CheckIfCollapseCreatesFlipOrInvalid
&40;
int vid,
int vother,
const FVector3d & newv,
int tc,
int td
&41; const
Remarks
Check if edge collapse will create a face-normal flip. Also checks if collapse would violate link condition, since we are iterating over one-ring anyway. This only checks one-ring of vid, so you have to call it twice, with vid and vother reversed, to check both one-rings
Parameters
| Name | Description |
|---|---|
| vid | first vertex of edge |
| vother | other vertex of edge |
| newv | new vertex position after collapse |
| tc | triangle on one side of edge |
| td | triangle on other side of edge |