필터 지우기
필터 지우기

order of vertices of polyshape is not same afterpolybuffer command

조회 수: 3 (최근 30일)
jahanzaib ahmad
jahanzaib ahmad 2019년 5월 15일
편집: jahanzaib ahmad 2019년 5월 15일
x=rand(10,1);
y=rand(10,1);
k=convhull(x,y);
A=[x(k),y(k)];
polyin = polyshape(A);
plot(polyin)
polyout1 = polybuffer(polyin,0.0005,'JointType','miter','MiterLimit',2);
hold on
plot(polyout1)
w=[polyin.Vertices ,polyout1.Vertices ];
in w i want to match the values of polyin and polyout1 . the same edge vertices of polyout1 should be infront of polyin. y the order changed ?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Elementary Polygons에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by