Finds intersection point with the specified line.

Namespace:  AForge.Math.Geometry
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public Nullable<Point> GetIntersectionWith(
	Line secondLine
)

Parameters

secondLine
Type: AForge.Math.Geometry..::.Line
Line to find intersection with.

Return Value

Returns intersection point with the specified line, or nullNothingnullptra null reference (Nothing in Visual Basic) if the lines are parallel and distinct.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThrown if the specified line is the same line as this line.

See Also