FLineTryFindIntersection Method
Attempt to find an intersection between the two lines and output a
reference to that intersection, if found.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 26.3006.2520
public static bool TryFindIntersection(
FVector2 pointA1,
FVector2 pointA2,
FVector2 pointB1,
FVector2 pointB2,
out FVector2 intersection
)
Public Shared Function TryFindIntersection (
pointA1 As FVector2,
pointA2 As FVector2,
pointB1 As FVector2,
pointB2 As FVector2,
<OutAttribute> ByRef intersection As FVector2
) As Boolean
No code example is currently available or this language may not be supported.
- pointA1 FVector2
-
Reference to the first point of the first line to compare.
- pointA2 FVector2
-
Reference to the second point of the first line to compare.
- pointB1 FVector2
-
Reference to the first point of the second line to compare.
- pointB2 FVector2
-
Reference to the second point of the second line to compare.
- intersection FVector2
-
Reference to the intersection between the two lines, if found.
Otherwise, null.
Boolean
True if an intersection was found. Otherwise, false.