Tests/NUnit/H3Suite/Lib/Utility.cs
/// <summary>
/// Call the callback for every index at the given resolution in base
/// cell 0 up to the given base cell number.
/// </summary>
/// <param name="res"></param>
/// <param name="callback"></param>
/// <param name="baseCells"></param>
Call the callback for every index at the given resolution in base
cell 0 up to the given base cell number.
Call the callback for every index at the given resolution in base cell 0 up to the given base cell number .
public static void IterateAllIndexesAtResPartial(int res, Action<H3Index> callback, int baseCells)
        {
            Assert.LessOrEqual(baseCells, Constants.H3.NUM_BASE_CELLS);
            for (var i = 0; i < baseCells; i++)
            {
                IterateBaseCellIndexesAtRes(res, callback, i);
            }
        }
public static void IterateAllIndexesAtResPartial ( int res , Action < H3Index > callback , int baseCells ) { Assert . LessOrEqual ( baseCells , Constants . H3 . NUM_BASE_CELLS ) ; for ( var i = 0 ; i < baseCells ; i ++ ) { IterateBaseCellIndexesAtRes ( res , callback , i ) ; } }
Call the callback for every index at the given resolution in base
cell 0 up to the given base cell number.
Call the callback for every index at the given resolution in base cell 0 up to the given base cell number .
res
int
None
callback
Action<H3Index>
None
baseCells
int
None