FInterpCurve::FindNearestOnSegment

Find the nearest point (to the given point) on segment between Points[PtIdx] and Points[PtIdx+1]