Returns true if the two line segments defined by the respective start and end points intersect.

Namespace: Reimers.Google.Map.Accessories
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public static bool Intersects(
	ICoordinates line1Start,
	ICoordinates line1End,
	ICoordinates line2Start,
	ICoordinates line2End
)

Parameters

line1Start
Type: Reimers.Core.Maps..::..ICoordinates
The start point of Line1.
line1End
Type: Reimers.Core.Maps..::..ICoordinates
The end point of Line1.
line2Start
Type: Reimers.Core.Maps..::..ICoordinates
The start point of Line2.
line2End
Type: Reimers.Core.Maps..::..ICoordinates
The end point of Line2.

Return Value

A Boolean value indicating whether the lines intersect each other.

See Also