PointDistToLine

Overload list

Windows
MacOS
Linux
Name Description

Public function Static

float

 

PointDistToLine

(
    const FVector& Point,
    const FVector& Direction,
    const FVector& Origin
)

Calculates the distance of a given Point in world space to a given line, defined by the vector couple (Origin, Direction).

Public function Static

float

 

PointDistToLine

(
    const FVector& Point,
    const FVector& Direction,
    const FVector& Origin,
    FVector& OutClosestPoint
)

Calculates the distance of a given Point in world space to a given line, defined by the vector couple (Origin, Direction).

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