FDynamicMesh3::GetVtxContiguousTriangles

Get triangles connected to vertex in contiguous order, with multiple groups if vertex is a bowtie.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMesh3.h

Include

#include "DynamicMesh3.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMesh3_Queries.cpp

Syntax

EMeshResult GetVtxContiguousTriangles
(
    int VertexID,
    TArray< int > & TrianglesOut,
    TArray< int > & ContiguousGroupLengths,
    TArray< bool > & GroupIsLoop
) const

Remarks

Get triangles connected to vertex in contiguous order, with multiple groups if vertex is a bowtie.

Parameters

Parameter

Description

VertexID

Vertex ID to search around

TrianglesOut

All triangles connected to the vertex, in contiguous order; if there are multiple contiguous groups they are packed one after another

ContiguousGroupLengths

Lengths of contiguous groups packed into TrianglesOut (if not a bowtie, this will just be a length-one array w/ {TrianglesOut.Num()})

GroupIsLoop

Indicates whether each contiguous group is a loop (first triangle connected to last) or not

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