class GridCellGeometry {

    public Geometry getCellGeometry(int xIndex, int yIndex) {
        if (xIndex < 0 || xIndex >= xCellCount ||
            yIndex < 0 || yIndex >= yCellCount) {
            throw new IndexOutOfBoundsException();
        }
        return getCellGeometryQuick(xIndex, yIndex);
    }

    public  GridCellGeometry(GridCoordSystem gridCoordSystem);

}