FSparseDynamicOctree3::CheckValidity

Check that the octree is internally valid

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "Spatial/SparseDynamicOctree3.h"

Syntax

void CheckValidity
(
    TFunctionRef< bool> IsValidObjectIDFunc,
    TFunctionRef< FAxisAlignedBox3d> GetObjectBoundsFunc,
    EValidityCheckFailMode FailMode,
    bool bVerbose,
    bool bFailOnMissingObjects
) const

Remarks

Check that the octree is internally valid

Parameters

Parameter

Description

IsValidObjectIDFunc

function that returns true if given ObjectID is valid

GetObjectBoundSFunc

function that returns bounding box of object identified by ObjectID

FailMode

how should validity checks fail

bVerbose

if true, print some debug info via UE_LOG

bFailOnMissingObjects

if true, assume ObjectIDs are dense and that all ObjectIDs must be in the 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