Point.FromIntersection Method

Returns a Point that is the intersection of two lines.

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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

ArgumentNullExceptionline1 is null.

-or-

line2 is null.
DivideByZeroExceptionThe two lines are parallel.

See Also