Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/PointHashGrid3.h |
Include |
#include "Spatial/PointHashGrid3.h" |
TPair< PointDataType, RealType > FindNearestInRadius
(
const FVector3< RealType > & QueryPoint,
RealType Radius,
TFunctionRef< RealType(const PointDataType &)> DistanceSqFunc,
TFunctionRef< bool> IgnoreFunc
) const
Find nearest point in grid, within a given sphere, without locking / thread-safety.
the found pair (Value,DistanceSqFunc(Value)), or (InvalidValue,MaxDouble) if not found
Parameter |
Description |
---|---|
QueryPoint |
the center of the query sphere |
Radius |
the radius of the query sphere |
DistanceSqFunc |
Function you provide which measures the squared distance between QueryPoint and a Value |
IgnoreFunc |
optional Function you may provide which will result in a Value being ignored if IgnoreFunc(Value) returns true |