TMeshAABBTree3::TestIntersection

Return true if _any_ triangle of TestMesh intersects with our tree.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/MeshAABBTree3.h

Include

#include "Spatial/MeshAABBTree3.h"

Syntax

virtual bool TestIntersection
(
    const TriangleMeshType * TestMesh,
    FAxisAlignedBox3d TestMeshBounds,
    const TFunction< FVector3d &)> & TransformF,
    const FQueryOptions & Options
) const

Remarks

Return true if any triangle of TestMesh intersects with our tree. If TestMeshBounds is not empty, only test collision if the provided bounding box intersects the root AABB box Use TransformF to transform vertices of TestMesh into space of this tree.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss