MindFusion.Charting for JavaScript Programmer's Guide
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

Type: Point
Point. The start of the first line segment.

p2

Type: Point
Point. The end of the first line segment.

p3

Type: Point
Point. The start of the second line segment.

p4

Type: Point
Point. The end of the second line segment.

 Return Value

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

 See Also

DrawingUtils Members
DrawingUtils Class
MindFusion.Drawing Namespace