H3Lib/Api.cs
/// <summary>
/// hexagon neighbors in all directions, reporting distance from origin
/// </summary>
hexagon neighbors in all directions, reporting distance from origin
hexagon neighbors in all directions reporting distance from origin
public static void KRingDistances(H3Index origin, int k, out List<H3Index> outCells, out List<int> distances)
        {
            var lookup = origin.KRingDistances(k);
            outCells = lookup.Keys.ToList();
            distances = lookup.Values.ToList();
        }
public static void KRingDistances ( H3Index origin , int k , out List < H3Index > outCells , out List < int > distances ) { var lookup = origin . KRingDistances ( k ) ; outCells = lookup . Keys . ToList ( ) ; distances = lookup . Values . ToList ( ) ; }
hexagon neighbors in all directions, reporting distance from origin
hexagon neighbors in all directions reporting distance from origin
origin
H3Index
k
int
List<H3Index>
out
List<int>
out