Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/InterpCurve.h |
Include |
#include "Math/InterpCurve.h" |
float InaccurateFindNearest
(
const T & PointInSpace,
float & OutDistanceSq,
float & OutSegment
) const
Find the nearest point on spline to the given point.
The key (the 't' parameter) of the nearest point.
Parameter |
Description |
---|---|
PointInSpace |
the given point |
OutDistanceSq |
output - the squared distance between the given point and the closest found point. |
OutSegment |
output - the nearest segment to the given point. |