/** * Constructs a grid index holding the triangles of a delaunay * triangulation. This version uses the bounding box of the triangulation as * the region to index. * * @param delaunay * delaunay triangulation to index * @param xCellCount * number of grid cells in a row * @param yCellCount * number of grid cells in a column */ public GridIndex(DelaunayTriangulation delaunay, int xCellCount, int yCellCount) { this(delaunay, xCellCount, yCellCount, delaunay.getBoundingBox()); }