Given a position x, return the id of the point closest to it. Merge points together based on tolerance specified. Return a list that maps unmerged point ids into new point ids. Initialize the point insertion process. The newPts is an object representing point coordinates into which incremental insertion methods place their data.
Bounds are the box that the points lie in.
Incrementally insert a point into search structure. Before using this method you must make sure that newPts have been supplied, the bounds has been set properly, and that divs are properly set. Incrementally insert a point into search structure with a particular index value. Before using this method you must make sure that newPts have been supplied, the bounds has been set properly, and that divs are properly set. Given a position x, return the id of the point closest to it.