public static Point2D lineLineIntersect ( final Line2D lineA , final Line2D lineB ) { return lineLineIntersect ( lineA . getX1 ( ) , lineA . getY1 ( ) , lineA . getX2 ( ) , lineA . getY2 ( ) , lineB . getX1 ( ) , lineB . getY1 ( ) , lineB . getX2 ( ) , lineB . getY2 ( ) ) ; }
Calculate the intersection of two lines .