Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/Spatial/MeshAABBTree3.h |
Include |
#include "Spatial/MeshAABBTree3.h" |
virtual MeshIntersection::FIntersectionsQueryResult FindAllIntersections
(
const TMeshAABBTree3 & OtherTree,
const TFunction< FVector3d &)> & TransformF,
const FQueryOptions & Options,
const FQueryOptions & OtherTreeOptions,
TFunction< bool &)> IntersectionFn
) const
Compute all intersections between two meshes. TransformF argument transforms vertices of OtherTree to our tree (can be null if in same coord space) Returns pairs of intersecting triangles, which could intersect in either point or segment Currently does not return coplanar intersections.