FLineIntersect(FLine, FLine, Boolean) Method

Calculate an intersection between the two lines and return the result as a point.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static FPoint Intersect(
	FLine lineA,
	FLine lineB,
	bool allowImaginary = false
)

Parameters

lineA  FLine
Reference to the first line to consider.
lineB  FLine
Reference to the second line to consider.
allowImaginary  Boolean  (Optional)
Value indicating whether the two lines can be said to have an intersection, even when it occurs on a line's plane outside of its boundaries.

Return Value

FPoint
Reference to the point at which the two lines intersect, if an intersection was found. Otherwise, a point where X and Y are set to float.NegativeInfinity.

See Also