/// <summary> /// returns whether or not the provided hexagons border /// </summary> public static int H3IndexesAreNeighbors(H3Index origin, H3Index destination) { return(origin.IsNeighborTo(destination) ? 1 : 0); }