H3Lib/H3Index.cs
/// <summary>
/// Gets the resolution res integer digit (0-7) of h3.
/// </summary>
Gets the resolution res integer digit (0-7) of h3.
Gets the resolution res integer digit ( 0 - 7 ) of h3 .
public Direction GetIndexDigit(int res)
        {
            return (Direction)
                ((Value >>
                  ((Constants.H3.MAX_H3_RES - res) * Constants.H3Index.H3_PER_DIGIT_OFFSET)) &
                 Constants.H3Index.H3_DIGIT_MASK);
        }
public Direction GetIndexDigit ( int res ) { return ( Direction ) ( ( Value >> ( ( Constants . H3 . MAX_H3_RES - res ) * Constants . H3Index . H3_PER_DIGIT_OFFSET ) ) & Constants . H3Index . H3_DIGIT_MASK ) ; }
Gets the resolution res integer digit (0-7) of h3.
Gets the resolution res integer digit ( 0 - 7 ) of h3 .
res
int