Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshBoundaryLoops.h |
Include |
#include "MeshBoundaryLoops.h" |
class FMeshBoundaryLoops
Name | Description | ||
---|---|---|---|
|
bAborted |
If true, we aborted computation due to unrecoverable errors |
|
|
bFellBackToSpansOnFailure |
If true, we had to call back to spans because of failures during Compute(). |
|
|
bSawOpenSpans |
If true, we found at least one open span during Compute(). |
|
|
EdgeFilterFunc |
If non-null, then only edges that pass this filter are considered. This may result in open spans. |
|
|
FailureBehavior |
What Compute() will do if it encounters unrecoverable errors while walking around a loop |
|
|
TArray< int > |
FailureBowties |
If we encountered unrecoverable errors, it is generally due to bowtie vertices. |
|
Loops |
Resulting set of loops filled by Compute() |
|
|
const FDynamicM... |
Mesh |
Mesh we are finding loops on |
|
SpanBehavior |
What Compute() will do if it encounter open spans |
|
|
Spans |
Resulting set of spans filled by Compute(), if SpanBehavior == Compute |
|
|
TArray< int > |
VerticesTemp |
Name | Description | |
---|---|---|
|
FMeshBoundaryLoops() |
|
|
FMeshBoundaryLoops ( |
Name | Description | ||
---|---|---|---|
|
Compute() |
Find the set of boundary EdgeLoops and EdgeSpans. |
|
|
int |
CountInList ( |
Count number of times item appears in loop |
|
int |
CountSpan ( |
Count number of valid vertices in l between loop[i0] and loop[i1-1] |
|
ExtractSpan |
Read out the span from loop[i0] to loop [i1-1] into an array. |
|
|
ExtractSubloops |
This is called when loopV contains one or more "bowtie" vertices. |
|
|
int |
FindIndex ( |
Find the index of item in loop, starting at start index |
|
int |
FindLeftTurnEdge |
Ok, bdry_edges[0...bdry_edges_count] contains the boundary edges coming out of bowtie_v. |
|
int |
FindLoopContainingEdge ( |
|
|
int |
FindLoopContainingVertex ( |
|
|
int |
FindLoopEdgesHint ( |
|
|
int |
FindLoopTrianglesHint ( |
|
|
FindVertexInLoop ( |
||
|
int |
GetLongestLoopIndex() |
|
|
int |
GetLoopCount() |
|
|
int |
GetMaxVerticesLoopIndex() |
|
|
int |
GetSpanCount() |
|
|
GetVertexNormal ( |
[TODO] cache this : a dictionary? we will not need very many, but we will need each multiple times! |
|
|
IsSimpleBowtieLoop |
Static Utility functions that can be re-used in MeshRegionBoundaryLoops In all the functions below, the list loopV is assumed to possibly contain "removed" vertices indicated by -1. |
|
|
IsSimplePath |
Check if forward path from loopV[i1] to loopV[i2] contains any bowtie verts other than bowtieV |
|
|
SetMesh ( |
Name | Description | ||
---|---|---|---|
|
const FEdgeL... |
operator[] ( |
Name |
Description |
|
---|---|---|
|
Subloops |
Name |
Description |
|
---|---|---|
|
EFailureBehaviors |
|
|
ESpanBehaviors |