poly2cw does not change the order of these points on this simple rectangle to clockwise. Could you please help me, I really need to fix this.
    3 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Xs{1}=[
     0
     1
     1
     1
     0
     1]
Ys{1}=[1.0000
    1.0000
    0.0101
         0
         0
    0.5000]
[xr,yr]=poly2cw( Xs{1}   , Ys{1}    )
for i=1:length(xr)
plot(xr(i),yr(i),'or')
hold on
drawnow
pause
end
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
