Click or drag to resize
Accord.NET (logo)

LineGetIntersectionWith Method (Line)

Finds intersection point with the specified line.

Namespace:  Accord.Math.Geometry
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public Nullable<Point> GetIntersectionWith(
	Line secondLine
)
Request Example View Source

Parameters

secondLine
Type: Accord.Math.GeometryLine
Line to find intersection with.

Return Value

Type: NullablePoint
Returns intersection point with the specified line, or if the lines are parallel and distinct.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the specified line is the same line as this line.
See Also