Search
Utilities.intersect Method
See Also
 






Checks if the line between the first two points intersects with the line between the last two points.

Namespace: com.mindfusion.charting
File: com.mindfusion.charting

 Syntax

Java  Copy Code

public static boolean intersect (
    Point2D p1,
    Point2D p2,
    Point2D p3,
    Point2D p4
)

 Parameters

p1

The first point of the first line.

p2

The second point of the first line.

p3

The first point of the second line.

p4

The second point of the second line.

 Return Value

false if the lines are parallel; otherwise true.

 See Also