src/Trigger.js
/**
 * Implicit grid is a spatial partitioning class. The world is partitioned into a uniform
 * grid and the objects inserted are stored in row and column bit arrays. To check if an
 * object with id 'i' exists in a specific grid cell you check bit 'i' in the row and column 
 * bit arrays.
 * This representation makes it very easy to check for potential overlaps by using some
 * bit arithmetic.
 * 
 * @returns {TriggerSystemDeleteRow}
 */
Implicit grid is a spatial partitioning class. The world is partitioned into a uniform
grid and the objects inserted are stored in row and column bit arrays. To check if an
object with id 'i' exists in a specific grid cell you check bit 'i' in the row and column
bit arrays.
This representation makes it very easy to check for potential overlaps by using some
bit arithmetic.


Implicit grid is a spatial partitioning class . The world is partitioned into a uniform grid and the objects inserted are stored in row and column bit arrays . To check if an object with id ' i ' exists in a specific grid cell you check bit ' i ' in the row and column bit arrays . This representation makes it very easy to check for potential overlaps by using some bit arithmetic .
function TriggerSystemGrid() {
    this.rows = [];
    this.columns = [];
    this.mergedColumns = [];
    this.mergedRows = [];
    this.result = { length : 0, elements : []};
}
function TriggerSystemGrid ( ) { this . rows = [ ] ; this . columns = [ ] ; this . mergedColumns = [ ] ; this . mergedRows = [ ] ; this . result = { length : 0 , elements : [ ] } ; }
Implicit grid is a spatial partitioning class.
Implicit grid is a spatial partitioning class .