src/ng-tag-cloud.js
function(a, b) {
                        if (Math.abs(2.0*a.offsetLeft + a.offsetWidth - 2.0*b.offsetLeft - b.offsetWidth) < a.offsetWidth + b.offsetWidth) {
                            if (Math.abs(2.0*a.offsetTop + a.offsetHeight - 2.0*b.offsetTop - b.offsetHeight) < a.offsetHeight + b.offsetHeight) {
                                return true;
                            }
                        }
                        return false;
                    }
function(a, b) {
                        if (Math.abs(2.0*a.offsetLeft + a.offsetWidth - 2.0*b.offsetLeft - b.offsetWidth) < a.offsetWidth + b.offsetWidth) {
                            if (Math.abs(2.0*a.offsetTop + a.offsetHeight - 2.0*b.offsetTop - b.offsetHeight) < a.offsetHeight + b.offsetHeight) {
                                return true;
                            }
                        }
                        return false;
                    }
function ( a , b ) { if ( Math . abs ( 2.0 * a . offsetLeft + a . offsetWidth - 2.0 * b . offsetLeft - b . offsetWidth ) < a . offsetWidth + b . offsetWidth ) { if ( Math . abs ( 2.0 * a . offsetTop + a . offsetHeight - 2.0 * b . offsetTop - b . offsetHeight ) < a . offsetHeight + b . offsetHeight ) { return true ; } } return false ; }
Pairwise overlap detection
Pairwise overlap detection