MindFusion.Java Package Programmer's Guide
CommonUtils.lineIntersect(T) Method
See Also
 






Calculates the intersection point of endless lines (pA, pB) and (pC, pD)

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

public static <T> boolean lineIntersect (
    Point2D pA,
    Point2D pB,
    Point2D pC,
    Point2D pD,
    Point2D result
)

 Parameters

pA

pB

pC

pD

result

the point that will receive the result if the lines intersect

 Return Value

true if the lines intersect

 See Also

CommonUtils Members
CommonUtils Class
com.mindfusion.common Namespace