/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h
Calculates the distance of a given Point in world space to a given line, defined by the vector couple (Origin, Direction).
distance of Point from line defined by (Origin, Direction)
static float PointDistToLine ( const FVector & Point, const FVector & Direction, const FVector & Origin )