CellLEC constructor
Implementation
CellLEC(this.x, this.y, this.hSide, this.distance) {
this.x = x; // cell center x
this.y = y; // cell center y
this.hSide = hSide; // half the cell size
/**
* The maximum possible distance to the constraints for points in this cell
* is the center distance plus the radius (half the diagonal length).
*/
this.maxDist = distance + hSide * SQRT2;
}