-1
我有兩個陣列:
VAR polygon1:[CGPoint] = []
VAR polygon2:[CGPoint] = []
我已經捕獲
polygon1:算法凹而不是自相交多邊形工會
(175.5,225.5) (140.0,200.5) (130.5,194.0) (129.5,192.0)在尊敬陣列的2D平面以下幾點(148.5,184.5) (182.5,174.0) (186.0,176.5) (175.5,225.5)
polygon2:
(141.5,225.0) (141.5,218.5) (141.5,178.0 ) (140.0,149.0) (155.5,151.0) (172.5,164.5) (163.0,192.5) (141.5,225.0)
我想多邊形結合起來。多邊形可以是凹的,沒有孔,也不會自相交。我應該使用哪種算法?
可能的平面掃描 – 2014-12-06 09:35:02