Checks whether the segments defined by the specified point pairs intersect and returns the intersection point.
Namespace: MindFusion.Drawing
File: DrawingUtils.js
JavaScript Copy Code |
---|
function getSegmentIntersection (p1, p2, p3, p4) |
Point. The start of the first segment.
Point. The end of the first segment.
Point. The start of the second segment.
Point. The end of the second segment.
Boolean. true if the segments intersect, false if not.