[−][src]Function libh3::h3_to_children
pub fn h3_to_children(h: H3Index, resolution: Resolution) -> Vec<H3Index>
Returns children indexes contained by the given index at the given resolution.
Arguments
h
- The index of the child resolution.resolution
- The resolution of the desired level.
use libh3::h3_to_children; assert_eq!( h3_to_children(0x852a1073fffffff, 6), vec![ 0x862a10707ffffff, 0x862a1070fffffff, 0x862a10717ffffff, 0x862a1071fffffff, 0x862a10727ffffff, 0x862a1072fffffff, 0x862a10737ffffff ] );