/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h
Find the point on the infinite line between two points (LineStart, LineEnd) which is closest to Point
static FVector ClosestPointOnInfiniteLine ( const FVector & LineStart, const FVector & LineEnd, const FVector & Point )