/Engine/Source/Runtime/GeometryCore/Public/Spatial/MeshAABBTree3.h
Find nearest pair of triangles on this tree with OtherTree, within Options.MaxDistance. TransformF transforms vertices of OtherTree into our coordinates. can be null. returns triangle-id pair (my_tri,other_tri), orFIndex2i::Invalidif not found within max_dist Use MeshQueries.TrianglesDistance() to get more information Note: Only uses MaxDistance from Options; OtherTreeOptions.MaxDistance is not used
virtual [FIndex2i](API\Runtime\GeometryCore\FIndex2i) FindNearestTriangles ( [TMeshAABBTree3](API\Runtime\GeometryCore\Spatial\TMeshAABBTree3) & OtherTree, const [TFunction](API\Runtime\Core\GenericPlatform\TFunction)< FVector3d(const FVector3d &)> & TransformF, double & Distance, const [FQueryOptions](API\Runtime\GeometryCore\Spatial\IMeshSpatial\FQueryOptions) & Options, const [FQueryOptions](API\Runtime\GeometryCore\Spatial\IMeshSpatial\FQueryOptions) & OtherTreeOptions )