Search
CommonUtils.lineIntersectHorizontal Method
See Also
 






Finds the x coordinate of the intersection point of the horizontal line at y and the line defined by points pA and pB. If the lines do not intersect, result is undefined.

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

 Syntax

Java  Copy Code

public static double lineIntersectHorizontal (
    double y,
    Point2D pA,
    Point2D pB
)

 Parameters

y

pA

pB

 Return Value

The intersection point x coordinate.

 See Also