MindFusion.Charting for JavaScript Programmer's Guide
DrawingUtils.intersect Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

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