H3Lib/Extensions/H3IndexExtensions.cs
/// <summary>
/// Sets high bit of H3Index cell
/// </summary>
Sets high bit of H3Index cell
Sets high bit of H3Index cell
public static H3Index SetHighBit(this H3Index cell, int value)
        {
            return  (cell & Constants.H3Index.H3_HIGH_BIT_MASK_NEGATIVE) |
                    ((ulong) value << Constants.H3Index.H3_MAX_OFFSET);
        }
public static H3Index SetHighBit ( this H3Index cell , int value ) { return ( cell & Constants . H3Index . H3_HIGH_BIT_MASK_NEGATIVE ) | ( ( ulong ) value << Constants . H3Index . H3_MAX_OFFSET ) ; }
Sets high bit of H3Index cell
Sets high bit of H3Index cell
H3Index
this
value
int