Search
CommonUtils.lineIntersect(T) Method
See Also
 






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

Namespace: com.mindfusion.common
File: 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