Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FInterpCurve
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float FindNearest
(
const T& PointInSpace, |
Find the nearest point on spline to the given point. | Math/InterpCurve.h | |
float FindNearest
(
const T& PointInSpace, |
Find the nearest point on spline to the given point. | Math/InterpCurve.h |
FindNearest(const T &, float &)
Description
Find the nearest point on spline to the given point.
| Name | FindNearest |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/InterpCurve.h |
| Include Path | #include "Math/InterpCurve.h" |
float FindNearest
(
const T & PointInSpace,
float & OutDistanceSq
) const
The key (the 't' parameter) of the nearest point.
Parameters
| Name | Remarks |
|---|---|
| PointInSpace | the given point |
| OutDistanceSq | output - the squared distance between the given point and the closest found point. |
FindNearest(const T &, float &, float &)
Description
Find the nearest point on spline to the given point.
| Name | FindNearest |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/InterpCurve.h |
| Include Path | #include "Math/InterpCurve.h" |
float FindNearest
(
const T & PointInSpace,
float & OutDistanceSq,
float & OutSegment
) const
The key (the 't' parameter) of the nearest point.
Parameters
| Name | Remarks |
|---|---|
| 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. |