[][src]Function libh3::max_h3_to_children_size

pub fn max_h3_to_children_size(h: H3Index, resolution: Resolution) -> i32

Returns the size of the array needed by h3ToChildren for these inputs.

Arguments

  • h - The index of the parent resolution.
  • resolution - The resolution of the desired level.
use libh3::max_h3_to_children_size;
assert_eq!(max_h3_to_children_size(0x852a1073fffffff, 6), 7);