Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
占用网格
嗨,我有一个 4 点边界框和一个网格(x,y,分辨率)。如上图所示,如何确定此边界框将占据哪些单元格?
我使用SAT并为每个单元格迭代网格以找到被占用的单元格。