Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/EmbedSurfacePath.h |
Include |
#include "Operations/EmbedSurfacePath.h" |
bool WalkMeshPlanar
(
const FDynamicMesh3 * Mesh,
int StartTri,
int EndVertID,
FVector3d StartPt,
int EndTri,
FVector3d EndPt,
FVector3d WalkPlaneNormal,
TFunction< FVector3d *, int)> VertexToPosnFn,
bool bAllowBackwardsSearch,
double AcceptEndPtOutsideDist,
double PtOnPlaneThreshold,
TArray< TPair< FMeshSurfacePoint, int >> & WalkedPath,
double BackwardsTolerance
)
Walk the surface of an FDynamicMesh to try find a planar path connecting two points. Paths include every vertex and edge they need to cross. Greedy algorithm will only return one path if there are multiple.