FLineGetClosestPoint Method

Return the closest point between the caller's line and an arbitrary point.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
public static FVector2 GetClosestPoint(
	FLine line,
	FVector2 point
)

Parameters

line  FLine
Reference to the line to be checked.
point  FVector2
Reference to the point to test for proximity.

Return Value

FVector2
Reference to the closest point between the caller's line and an arbitrary external point, if valid. Otherwise, null.

See Also