FGeometryHelper::FindClosestPointOnLine

Find the point on line segment from LineStart to LineEnd which is closest to Point

Windows
MacOS
Linux

References

Module

GraphEditor

Header

/Engine/Source/Editor/GraphEditor/Public/ConnectionDrawingPolicy.h

Include

#include "ConnectionDrawingPolicy.h"

Source

/Engine/Source/Editor/GraphEditor/Private/ConnectionDrawingPolicy.cpp

Syntax

static FVector2D FindClosestPointOnLine
(
    const FVector2D & LineStart,
    const FVector2D & LineEnd,
    const FVector2D & TestPoint
)

Remarks

Find the point on line segment from LineStart to LineEnd which is closest to Point

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss