UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TBVTree< InElementType, InAllocator >::FElementBox Struct Reference

#include <BVTree.h>

+ Inheritance diagram for TBVTree< InElementType, InAllocator >::FElementBox:

Public Member Functions

 FElementBox ()
 
 FElementBox (const FBox &Box)
 
- Public Member Functions inherited from UE::Math::TBox< double >
constexpr TBox ()
 
constexpr TBox (ENoInit)
 
constexpr TBox (EForceInit)
 
constexpr TBox (EForceInit, TBoxConstInit)
 
 TBox (const TVector< FArg > &InMin, const TVector< FArg > &InMax)
 
 TBox (const TVector4< double > &InMin, const TVector4< double > &InMax)
 
 TBox (const TVector< double > *Points, const int32 Count)
 
 TBox (const TArray< TVector< double > > &Points)
 
 TBox (const TBox< FArg > &From)
 
 TBox (const TSphere< double > &Sphere)
 
UE_FORCEINLINE_HINT void DiagnosticCheck () const
 
bool ContainsNaN () const
 
UE_FORCEINLINE_HINT bool operator== (const TBox< double > &Other) const
 
UE_FORCEINLINE_HINT bool operator!= (const TBox< double > &Other) const
 
bool Equals (const TBox< double > &Other, double Tolerance=UE_KINDA_SMALL_NUMBER) const
 
TBox< double > & operator+= (const TVector< double > &Other)
 
TBox< double > & operator+= (const TBox< double > &Other)
 
UE_FORCEINLINE_HINT TBox< doubleoperator+ (const TVector< double > &Other) const
 
UE_FORCEINLINE_HINT TBox< doubleoperator+ (const TBox< double > &Other) const
 
TVector< double > & operator[] (int32 Index)
 
const TVector< double > & operator[] (int32 Index) const
 
UE_FORCEINLINE_HINT double ComputeSquaredDistanceToPoint (const TVector< double > &Point) const
 
double ComputeSquaredDistanceToBox (const TBox< double > &Box) const
 
UE_FORCEINLINE_HINT TBox< doubleExpandBy (double W) const
 
UE_FORCEINLINE_HINT TBox< doubleExpandBy (const TVector< double > &V) const
 
TBox< doubleExpandBy (const TVector< double > &Neg, const TVector< double > &Pos) const
 
UE_FORCEINLINE_HINT TBox< doubleShiftBy (const TVector< double > &Offset) const
 
TBox< doubleMoveTo (const TVector< double > &Destination) const
 
TVector< doubleGetCenter () const
 
void GetCenterAndExtents (TVector< double > &Center, TVector< double > &Extents) const
 
TVector< doubleGetClosestPointTo (const TVector< double > &Point) const
 
TVector< doubleGetExtent () const
 
TVector< doubleGetSize () const
 
double GetVolume () const
 
void Init ()
 
bool Intersect (const TBox< double > &Other) const
 
bool IntersectXY (const TBox< double > &Other) const
 
TBox< doubleOverlap (const TBox< double > &Other) const
 
TBox< doubleInverseTransformBy (const TTransform< double > &M) const
 
bool IsInside (const TVector< double > &In) const
 
UE_FORCEINLINE_HINT bool IsInside (const TBox< double > &Other) const
 
bool IsInsideOrOn (const TVector< double > &In) const
 
UE_FORCEINLINE_HINT bool IsInsideOrOn (const TBox< double > &Other) const
 
bool IsInsideXY (const TVector< double > &In) const
 
UE_FORCEINLINE_HINT bool IsInsideXY (const TBox< double > &Other) const
 
bool IsInsideOrOnXY (const TVector< double > &In) const
 
TBox< doubleTransformBy (const TMatrix< double > &M) const
 
TBox< doubleTransformBy (const TTransform< double > &M) const
 
TBox< doubleTransformProjectBy (const TMatrix< double > &ProjM) const
 
FString ToString () const
 
FString ToCompactString () const
 
void GetVertices (TVector< double >(&Vertices)[8]) const
 
bool Serialize (FArchive &Ar)
 
bool Serialize (FStructuredArchive::FSlot Slot)
 
bool SerializeFromMismatchedTag (FName StructTag, FArchive &Ar)
 

Public Attributes

int ElementIndex
 
- Public Attributes inherited from UE::Math::TBox< double >
TVector< doubleMin
 
TVector< doubleMax
 
uint8 IsValid
 

Additional Inherited Members

- Public Types inherited from UE::Math::TBox< double >
using FReal = double
 
- Static Public Member Functions inherited from UE::Math::TBox< double >
static TBox< doubleBuildAABB (const TVector< double > &Origin, const TVector< double > &Extent)
 

Constructor & Destructor Documentation

◆ FElementBox() [1/2]

template<typename InElementType , typename InAllocator = FDefaultAllocator>
TBVTree< InElementType, InAllocator >::FElementBox::FElementBox ( )
inline

◆ FElementBox() [2/2]

template<typename InElementType , typename InAllocator = FDefaultAllocator>
TBVTree< InElementType, InAllocator >::FElementBox::FElementBox ( const FBox Box)
inline

Member Data Documentation

◆ ElementIndex

template<typename InElementType , typename InAllocator = FDefaultAllocator>
int TBVTree< InElementType, InAllocator >::FElementBox::ElementIndex

The documentation for this struct was generated from the following file: