Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/MeshAABBTree3.h |
Include |
#include "Spatial/MeshAABBTree3.h" |
virtual FIndex2i FindNearestTriangles
(
TMeshAABBTree3 & OtherTree,
TFunction< FVector3d &)> TransformF,
double & Distance,
double MaxDist
)
Find nearest pair of triangles on this tree with otherTree, within max_dist. TransformF transforms vertices of otherTree into our coordinates. can be null. returns triangle-id pair (my_tri,other_tri), or Index2i::Invalid if not found within max_dist Use MeshQueries.TrianglesDistance() to get more information