TMeshAABBTree3::FindAllIntersections

Compute all intersections between two meshes.

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/Spatial/MeshAABBTree3.h

Include

#include "Spatial/MeshAABBTree3.h"

Syntax

virtual MeshIntersection::FIntersectionsQueryResult FindAllIntersections
(
    const TMeshAABBTree3 & OtherTree,
    const TFunction< FVector3d &)> & TransformF,
    const FQueryOptions & Options,
    const FQueryOptions & OtherTreeOptions,
    TFunction< bool &)> IntersectionFn
) const

Remarks

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.