FMeshSurfacePath::IsConnected

TODO: not clear if we need this helper to find the shared triangle (if it exists) that we could traverse to connect two surface points.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/EmbedSurfacePath.h

Include

#include "Operations/EmbedSurfacePath.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/Operations/EmbedSurfacePath.cpp

Syntax

bool IsConnected() const

Remarks

TODO: not clear if we need this helper to find the shared triangle (if it exists) that we could traverse to connect two surface points. this gets a bit hairy and it's easier to keep track of the traversed triangles during the mesh walk that creates any path in the first place static int FindSharedTriangle(const FDynamicMesh3* Mesh, const FMeshSurfacePoint& A, const FMeshSurfacePoint& B);

Returns

True if the Path exactly sticks to the mesh surface, and never jumps to disconnected elements

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