1
如何獲取可放置在路徑或多邊形內的最大矩形。 我需要一些功能來獲取它。獲取放置在多邊形或路徑中的最大矩形
如何獲取可放置在路徑或多邊形內的最大矩形。 我需要一些功能來獲取它。獲取放置在多邊形或路徑中的最大矩形
這個網站有可能的算法:http://cgm.cs.mcgill.ca/~athens/cs507/Projects/2003/DanielSud/
該站點上也有一個Java小程序的源代碼,但applet使用蠻力解決方案,而不是在頁面上描述的算法。
可能的重複http://stackoverflow.com/questions/610462/finding-an-axis-aligned-rectangle-inside-a-polygon – Justin 2010-07-29 14:10:39