FBspPointsGrid

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

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/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

Name Description

Public function

FBspPointsGrid

(
    float InGranularity,
    float InThreshold,
    int32 InitialSize
)

Functions

Name Description

Public function

void

 

Clear

(
    int32 InitialSize
)

Public function

int32

 

FindOrAddPoint

(
    const FVector& Point,
    int32 Index,
    float Threshold
)

Typedefs

Name

Description

FGridMap

Constants

Name

Description

GBspPoints

GBspVectors

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback