Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TPointHashGrid3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TPair< PointDataType, RealType > FindAnyInRadius
(
const TVector< RealType >& QueryPoint, |
Spatial/PointHashGrid3.h | ||
TPair< PointDataType, RealType > FindAnyInRadius
(
const TVector< RealType >& QueryPoint, |
Find any point within radius. | Spatial/PointHashGrid3.h |
FindAnyInRadius(const TVector< RealType > &, RealType, TFunctionRef< RealType(const PointDataType &)>)
| Name | FindAnyInRadius |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/PointHashGrid3.h |
| Include Path | #include "Spatial/PointHashGrid3.h" |
TPair< PointDataType, RealType > FindAnyInRadius
(
const TVector < RealType > & QueryPoint,
RealType Radius,
TFunctionRef < RealType> DistanceSqFunc
) const
FindAnyInRadius(const TVector< RealType > &, RealType, TFunctionRef< RealType(const PointDataType &)>, TFunctionRef< bool(const PointDataType &)>)
Description
Find any point within radius. Note: Not thread-safe to update, remove or insert points during this query.
| Name | FindAnyInRadius |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/PointHashGrid3.h |
| Include Path | #include "Spatial/PointHashGrid3.h" |
TPair< PointDataType, RealType > FindAnyInRadius
(
const TVector < RealType > & QueryPoint,
RealType Radius,
TFunctionRef < RealType> DistanceSqFunc,
TFunctionRef < bool> IgnoreFunc
) const
the found pair (Value,DistanceSqFunc(Value)), or (InvalidValue,MaxDouble) if not found
Parameters
| Name | Remarks |
|---|---|
| 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 |