h3GetBaseCell method

  1. @override
int h3GetBaseCell(
  1. BigInt h3Index
)
override

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

@override
int h3GetBaseCell(BigInt h3Index) {
  return _h3c.h3GetBaseCell(h3Index.toInt());
}