简体   繁体   English

如何在网格中找到边界框的占用率?

[英]How to find occupancy of bounding box in a grid?

occupancy grid占用网格

Hi,i have a 4 point bounding box and a grid (x,y,resolution).嗨,我有一个 4 点边界框和一个网格(x,y,分辨率)。 How can I determine which cells will this bounding box occupy as seen in the above image?如上图所示,如何确定此边界框将占据哪些单元格?

I used SAT and iterated over grid for each cell to find occupied cells.我使用SAT并为每个单元格迭代网格以找到被占用的单元格。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM