2009-10-02 80 views

回答

2

最簡單的方法 - 特別是對於很多點是三角形多邊形,然後在三角測試中做一個點。
您可以將多邊形轉換爲一組凸多邊形,但這是棘手的。

又見Random points inside a 4-sided Polygon