Why can’t polyshape.union() consolidate neighboring polygons?
I have a polyshape vector pv consisting of 4 adjacent triangles,
load tstcase_pv
plot(pv)
Why is it that when the polyshape vector elements are ordered one way, the union() operation successfully consolidates them, whereas in the reverse order, it does not?
pv1=pv([4,1,2,3]); plot(union(pv1))
pv2=pv([3,2,1,4]); plot(union(pv2))I have a polyshape vector pv consisting of 4 adjacent triangles,
load tstcase_pv
plot(pv)
Why is it that when the polyshape vector elements are ordered one way, the union() operation successfully consolidates them, whereas in the reverse order, it does not?
pv1=pv([4,1,2,3]); plot(union(pv1))
pv2=pv([3,2,1,4]); plot(union(pv2)) I have a polyshape vector pv consisting of 4 adjacent triangles,
load tstcase_pv
plot(pv)
Why is it that when the polyshape vector elements are ordered one way, the union() operation successfully consolidates them, whereas in the reverse order, it does not?
pv1=pv([4,1,2,3]); plot(union(pv1))
pv2=pv([3,2,1,4]); plot(union(pv2)) polyshape, union, numerical stability MATLAB Answers — New Questions