private static boolean divisionByZeroSideEffect ( final double pXA , final double pYA , final double pXB , final double pYB , final double pXC , final double pYC , final double pXD , final double pYD , final PointL pIntersection ) { return divisionByZeroSideEffectX ( pXA , pYA , pXB , pYB , pXC , pYC , pXD , pYD , pIntersection ) || divisionByZeroSideEffectX ( pXC , pYC , pXD , pYD , pXA , pYA , pXB , pYB , pIntersection ) || divisionByZeroSideEffectY ( pXA , pYA , pXB , pYB , pXC , pYC , pXD , pYD , pIntersection ) || divisionByZeroSideEffectY ( pXC , pYC , pXD , pYD , pXA , pYA , pXB , pYB , pIntersection ) ; }
Main intersection formula works only without division by zero