Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一个关于cell id的问题 #23

Closed
wushuangxiaoyu opened this issue Apr 17, 2020 · 1 comment
Closed

请教一个关于cell id的问题 #23

wushuangxiaoyu opened this issue Apr 17, 2020 · 1 comment

Comments

@wushuangxiaoyu
Copy link

你好
在看cell_id 源码的时候看到这样一个代码,不求甚解,盼大佬解答:
image
zhe'g
这个next 就是把最小的精度位置直接+1了
希尔伯特的最小单元不是有4种u型么。。按理说 +1 不一定是cellId的next啊
那为啥这里是这样处理的呢?

@halfrost
Copy link
Owner

halfrost commented Jul 3, 2020

这里 + 1 是在 U 型上变换到了下一个单元,计算 cellid 是在 S2CellId 那个函数里面计算的。

@halfrost halfrost closed this as completed Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants