UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AABBTreeDirtyGridUtils.h File Reference
#include "Chaos/AABB.h"
#include "Chaos/Defines.h"
#include "ChaosLog.h"
#include <limits>

Go to the source code of this file.

Namespaces

namespace  Chaos
 

Functions

FORCEINLINE_DEBUGGABLE uint32 Chaos::InterleaveWithZeros (uint16 input)
 
FORCEINLINE_DEBUGGABLE int64 Chaos::GetDirtyCellIndexFromWorldCoordinate (FReal Coordinate, FReal DirtyElementGridCellSizeInv)
 
FORCEINLINE_DEBUGGABLE int32 Chaos::HashCell (int64 XCell, int64 YCell)
 
FORCEINLINE_DEBUGGABLE int32 Chaos::HashCoordinates (FReal Xcoordinate, FReal Ycoordinate, FReal DirtyElementGridCellSizeInv)
 
template<typename T >
FORCEINLINE_DEBUGGABLE bool Chaos::TooManyOverlapQueryCells (const TAABB< T, 3 > &AABB, FReal DirtyElementGridCellSizeInv, int32 MaximumOverlap)
 
template<typename T , typename FunctionType >
FORCEINLINE_DEBUGGABLE bool Chaos::DoForOverlappedCells (const TAABB< T, 3 > &AABB, FReal DirtyElementGridCellSize, FReal DirtyElementGridCellSizeInv, FunctionType Function)
 
template<typename T , typename FunctionType >
FORCEINLINE_DEBUGGABLE bool Chaos::DoForOverlappedCellsExclude (const TAABB< T, 3 > &AABB, const TAABB< T, 3 > &AABBExclude, FReal DirtyElementGridCellSize, FReal DirtyElementGridCellSizeInv, FunctionType Function)
 
FORCEINLINE_DEBUGGABLE int32 Chaos::FindInSortedArray (const TArray< int32 > &Array, int32 FindValue, int32 StartIndex, int32 EndIndex)
 
FORCEINLINE_DEBUGGABLE int32 Chaos::FindInsertIndexIntoSortedArray (const TArray< int32 > &Array, int32 FindValue, int32 StartIndex, int32 EndIndex)
 
FORCEINLINE_DEBUGGABLE bool Chaos::InsertValueIntoSortedSubArray (TArray< int32 > &Array, int32 Value, int32 StartIndex, int32 Count)
 
FORCEINLINE_DEBUGGABLE bool Chaos::DeleteValueFromSortedSubArray (TArray< int32 > &Array, int32 Value, int32 StartIndex, int32 Count)
 
FORCEINLINE_DEBUGGABLE bool Chaos::TooManySweepQueryCells (const TVec3< FReal > &QueryHalfExtents, const FVec3 &StartPoint, const FVec3 &Dir, FReal Length, FReal DirtyElementGridCellSizeInv, int32 DirtyElementMaxGridCellQueryCount)
 
template<typename FunctionType >
FORCEINLINE_DEBUGGABLE void Chaos::DoForSweepIntersectCellsImp (const FReal QueryHalfExtentsX, const FReal QueryHalfExtentsY, const FReal StartPointX, const FReal StartPointY, const FReal RayX, const FReal RayY, FReal DirtyElementGridCellSize, FReal DirtyElementGridCellSizeInv, FunctionType InFunction)
 
template<typename FunctionType >
void Chaos::DoForSweepIntersectCells (const FVec3 QueryHalfExtents, const FVec3 &StartPoint, const FVec3 &Dir, FReal Length, FReal DirtyElementGridCellSize, FReal DirtyElementGridCellSizeInv, FunctionType InFunction)
 
FORCEINLINE_DEBUGGABLE bool Chaos::TooManyRaycastQueryCells (const FVec3 &StartPoint, const FVec3 &Dir, const FReal Length, FReal DirtyElementGridCellSizeInv, int32 DirtyElementMaxGridCellQueryCount)
 
template<typename FunctionType >
FORCEINLINE_DEBUGGABLE void Chaos::DoForRaycastIntersectCells (const FVec3 &StartPoint, const FVec3 &Dir, FReal Length, FReal DirtyElementGridCellSize, FReal DirtyElementGridCellSizeInv, FunctionType InFunction)