nl_tokens: Finds the intersection between two rectangles . If the rectangles don t intersect then false is returned .
pl_tokens: public static boolean intersection ( Rectangle2D_I32 a , Rectangle2D_I32 b , Rectangle2D_I32 result ) { if ( ! intersects ( a , b ) ) return false ; result . x0 = Math . <mask> ( a . x0 , b . x0 ) ; result . x1 = Math . min ( a . x1 , b . x1 ) ; result . y0 = Math . max ( a . y0 , b . y0 ) ; result . y1 = Math . min ( a . y1 , b . y1 ) ; return true ; }