3 ms·
For anyone who was scratching thier head about how a plane filling curve gets mapped into a sphere; what S2 really does is project the sphere onto the six sides
by kjeetgill 8y ago
For anyone who was scratching thier head about how a plane filling curve gets mapped into a sphere; what S2 really does is project the sphere onto the six sides of a cube _and then_ fill each face with a Hilbert Curve index.
- mrep 8y agoLol and Holy shit! That totally explains why the s2 cell lengths vary based on where they are located in one of the six faces (aka, sides of a cube) of which the documentation does not explain clearly. I have spent many hours using this library and your comment has explained so much of what I was confused about it. Thank you
- kjeetgill 8y agoI'm glad I could help! I just picked up that fun fact from recently. You're going to get a kick out of: https://news.ycombinator.com/item?id=17765388 https://news.ycombinator.com/item?id=17765388