src/classes/sigma.classes.edgequad.js
function _quadCollision(corners, quadCorners) {
    var indexes = [];

    // Iterating through quads
    for (var i = 0; i < 4; i++)
      if (_geom.collision(corners, quadCorners[i]))
        indexes.push(i);

    return indexes;
  }
function _quadCollision(corners, quadCorners) {
    var indexes = [];

    // Iterating through quads
    for (var i = 0; i < 4; i++)
      if (_geom.collision(corners, quadCorners[i]))
        indexes.push(i);

    return indexes;
  }
function _quadCollision ( corners , quadCorners ) { var indexes = [ ] ; // Iterating through quads for ( var i = 0 ; i < 4 ; i ++ ) if ( _geom . collision ( corners , quadCorners [ i ] ) ) indexes . push ( i ) ; return indexes ; }
Get a list of indexes of nodes containing a non-axis-aligned rectangle

@param  {array}  corners      An array containing each corner of the
rectangle defined by its coordinates (x, y).
@param  {array}  quadCorners  An array of the quad nodes' corners.
@return {array}               An array of indexes containing one to
four integers.
Get a list of indexes of nodes containing a non - axis - aligned rectangle