FPointSetHashtable::FindPointsInBall

Find all points within given query distance from query point.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "Spatial/PointSetHashTable.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Private/Spatial/PointSetHashTable.cpp

Syntax

bool FindPointsInBall
(
    const FVector3d & QueryPt,
    double QueryRadius,
    TArray< int > & ResultOut
)

Remarks

Find all points within given query distance from query point.

that in current implementation the distance must be less than the CellSize used in construction, ie at most the directly adjacent neighbours next to the cell containing QueryPt can be searched

Returns

true on success

Parameters

Parameter

Description

QueryPt

center of search sphere/ball

QueryRadius

radius of search sphere/ball. Points within this distance of QueryPt are returned.

ResultOut

indices of discovered points are stored in this list

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss