Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FSignpost
Description
Update the signpost after an edge flip. This requires information about the both the pre and post flip state.
| Name | OnFlipEdge |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/IntrinsicCorrespondenceUtils.h |
| Include Path | #include "Operations/IntrinsicCorrespondenceUtils.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Operations/IntrinsicCorrespondenceUtils.cpp |
void OnFlipEdge
(
const int32 EID,
const FIndex2i AdjTris,
const FIndex2i OpposingVerts,
const FIndex2i PreFlipIndexOf,
const double Opp0NewInternalAngle,
const double Opp1NewInternalAngle
)
Parameters
| Name | Remarks |
|---|---|
| EID | edge that was flipped |
| AdjTris | IDs of the tris adjacent to flipped edge |
| OpposingVerts | verts opposite the edge, pre-flip. i.e. EdgeFlipInfo.OpposingVerts |
| PreFlipIndexOf | edge index in the EID in the pre-fliped tris. i.e. {GetTriEdges(Tris[0]).IndexOf(EID), GetTriEdges(Tris[1]).IndexOf(EID)}; |
| Opp0NewInternalAngle | internal angle of opposing vert 0 after the flip. i.e. InternalAngles[Tris[1]][1] |
| Opp1NewInternalAngle | internal angle of opposing vert 1 after the flip. i.e InternalAngles[Tris[0]][1]; |