Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMesh3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EMeshResult FlipEdge
(
int EdgeAB, |
Flip/Rotate an edge of the mesh. | DynamicMesh/DynamicMesh3.h | |
virtual EMeshResult FlipEdge
(
int EdgeVertA, |
Calls FlipEdge() on the edge between two vertices, if it exists | DynamicMesh/DynamicMesh3.h |
FlipEdge(int, FEdgeFlipInfo &)
Description
Flip/Rotate an edge of the mesh. This does not change the number of edges, vertices, or triangles. Boundary edges of the mesh cannot be flipped.
On success, the edges of the new triangles are ordered such that the shared edge is on index 0. i.e., GetTriEdge(FlipInfo.Triangles[0], 0) == GetTriEdge(FlipInfo.Triangles[1], 0)
| Name | FlipEdge |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMesh3_Edits.cpp |
virtual EMeshResult FlipEdge
(
int EdgeAB,
FEdgeFlipInfo & FlipInfo
)
Ok on success, or enum value indicates why operation cannot be applied. Mesh remains unmodified on error.
Parameters
| Name | Remarks |
|---|---|
| EdgeAB | index of edge to be flipped |
| FlipInfo | returned information about new and modified mesh elements |
FlipEdge(int, int, FEdgeFlipInfo &)
Description
Calls FlipEdge() on the edge between two vertices, if it exists
| Name | FlipEdge |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMesh3_Edits.cpp |
virtual EMeshResult FlipEdge
(
int EdgeVertA,
int EdgeVertB,
FEdgeFlipInfo & FlipInfo
)
Ok on success, or enum value indicates why operation cannot be applied. Mesh remains unmodified on error.
Parameters
| Name | Remarks |
|---|---|
| EdgeVertA | index of first vertex |
| EdgeVertB | index of second vertex |
| FlipInfo | returned information about new and modified mesh elements |