avatar
Spatial data structure problem# Programming - 葵花宝典
h*r
1
Anyone has an idea about my problem?
Suppose I divided a cube in 3D into a series of voxels (say 100x100x100). In
some of these voxels, I randomly place some particles. The total number of
particles is about 500,000. On center of each of these voxels, I need to
calculate a value which is the function of the distance to the closest
particle. Is there an efficient way to do this?
Now the only approach I could think of is using a Kd-tree. But I think kd-
tree is more suitable for situations when
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。