Point.FromIntersection Method

Returns a Point that is the intersection of two lines.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static Point FromIntersection(
	Polynomial line1,
	Polynomial line2
)

Parameters

line1  Polynomial
The first line.
line2  Polynomial
The second line.

Return Value

Point
A Point structure that contains the co-ordinates of the point where the lines intersect each other.

Exceptions

ArgumentNullException

line1 is null.

-or-

line2 is null.

DivideByZeroException

The two lines are parallel.

See Also