getBaseCellNumber method

int getBaseCellNumber(
  1. int h
)

@defgroup getBaseCellNumber getBaseCellNumber Functions for getBaseCellNumber @{ / /** @brief returns the base cell "number" (0 to 121) of the provided H3 cell

Note: Technically works on H3 edges, but will return base cell of the origin cell.

Implementation

int getBaseCellNumber(
  int h,
) {
  return _getBaseCellNumber(
    h,
  );
}