Search
DrawingUtils.intersect Method
See Also
 






Determines whether the specified line segments intersect.

Namespace: MindFusion.Drawing
File: DrawingUtils.js

 Syntax

JavaScript  Copy Code

function intersect (p1, p2, p3, p4)

 Parameters

p1

Point. The start of the first line segment.

p2

Point. The end of the first line segment.

p3

Point. The start of the second line segment.

p4

Point. The end of the second line segment.

 Return Value

Boolean. true if the segments intersect, false if not.

 See Also