Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FGeometrySet3
Warnings * PointWithinToleranceTest is called in parallel and hence must be thread-safe/re-entrant!
Description
PointWithinToleranceTest is called in parallel and hence must be thread-safe/re-entrant!
| Name | FindNearestCurveToRay |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/GeometrySet3.h |
| Include Path | #include "Spatial/GeometrySet3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Spatial/GeometrySet3.cpp |
bool FindNearestCurveToRay
(
const FRay3d & Ray,
FNearest & ResultOut,
TFunction < bool> PointWithinToleranceTest
) const
true if the nearest point on Ray to some curve in the set passed the PointWithinToleranceTest.
Parameters
| Name | Remarks |
|---|---|
| Ray | query ray |
| ResultOut | populated with information about successful nearest point result |
| PointWithinToleranceTest | should return true if two 3D points are "close enough" to be considered a hit |