FBspPointsGrid

Represents a sparse granular 3D grid into which points are added for quick (~O(1)) lookup.

Unreal Engine C++ API Reference > Developer > BSPUtils

References

   
Module BSPUtils
Header /Engine/Source/Developer/BSPUtils/Public/BSPOps.h
Include #include "BSPOps.h"

Syntax

class FBspPointsGrid  

Remarks

Represents a sparse granular 3D grid into which points are added for quick (~O(1)) lookup. The 3D space is divided into a grid with a given granularity. Points are considered to have a given radius (threshold) and are added to the grid cube they fall in, and to up to seven neighbours if they overlap.

Constructors

Type Name Description
  FBspPointsGrid ( float InGranularity, float InThreshold, int32 InitialSize )  

Functions

Type Name Description
void Clear ( int32 InitialSize )  
int32 FindOrAddPoint ( const FVector& Point, int32 Index, float Threshold )  

Typedefs

Name Description
FGridMap  

Constants

Name Description
GBspPoints  
GBspVectors  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library