Determines whether the specified line segments intersect.
Namespace: MindFusion.Drawing
File: DrawingUtils.js
JavaScript Copy Code |
---|
function intersect (p1, p2, p3, p4) |
Type: Point
Point. The start of the first line segment.
Type: Point
Point. The end of the first line segment.
Type: Point
Point. The start of the second line segment.
Type: Point
Point. The end of the second line segment.
Type: Boolean
Boolean. true if the segments intersect, false if not.