FLineIntersect(FVector2, FVector2, FVector2, Single) Method

Given line AB that has one point nearer than the Point C vector magnitude and one point further away, return Point D where vector C intersects line AB.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
public static FVector2 Intersect(
	FVector2 pointA,
	FVector2 pointB,
	FVector2 vector,
	float magnitude
)

Parameters

pointA  FVector2
Reference to point A in line AB.
pointB  FVector2
Reference to point B in line AB.
vector  FVector2
Reference to the vector C point.
magnitude  Single
The magnitude of vector C.

Return Value

FVector2
Reference to point D where vector C intersects line AB, if a point could be matched. Otherwise, null.

See Also