Closed shawnlaffan closed 10 years ago
From Daniel Smith via RT #89563:
A working algorithm only needs one line as follows:
return !($x1_min > $x2_max or $x1_max < $x2_min or $y1_min > $y2_max or $y1_max < $y2_min);
From Daniel Smith via RT #89563:
A working algorithm only needs one line as follows:
return !($x1_min > $x2_max or $x1_max < $x2_min or $y1_min > $y2_max or $y1_max < $y2_min);