Add h3ToCenterChild and getPentagonsAtRes#267
Conversation
|
What are your thoughts on naming? The |
2b4061b to
6b9d69c
Compare
nrabinowitz
left a comment
There was a problem hiding this comment.
Thanks so much for the contribution! Looking really good, just a few comments.
We also don't use |
isaacbrodsky
left a comment
There was a problem hiding this comment.
Thanks for your PR! Looks good, I added some comments in addition to Nick's.
|
Thank you for all the feedback! I believe I've addressed it all. Please let me know if I've missed something. I've added |
nrabinowitz
left a comment
There was a problem hiding this comment.
This looks great - thanks for the follow-through on this PR!
…(the PR instead of issue)
Add h3ToCenterChild and getPentagonsAtRes
…(the PR instead of issue)
Follows up on #263. I have a use-case where I need to find the center child of a cell at a specific resolution.
I'm simply changing the four resolution bits, but it should be worth adding as a helper function to the core library (so we can keep treating the index as an opaque datatype).
Also adds
getPentagonsAtReswhich provides the user with the set of pentagon cells at any given resolution,Resolves #255 and #263.