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_F64 a , Rectangle2D_F64 b , Rectangle2D_F64 result ) { if ( ! intersects ( a , b ) ) return false ; result . p0 . x = Math . <mask> ( a . p0 . x , b . p0 . x ) ; result . p1 . x = Math . min ( a . p1 . x , b . p1 . x ) ; result . p0 . y = Math . max ( a . p0 . y , b . p0 . y ) ; result . p1 . y = Math . min ( a . p1 . y , b . p1 . y ) ; return true ; }