Greedy merging of polyhedra
U.merge
merge(U)
U |
Union of polyhedra in the same dimension. Class: PolyUnion |
P = 5*ExamplePoly.randVrep;Triangulate the polyhedron
T = P.triangulate;Plot the triangular regions
T.plot
U = PolyUnion('Set',T,'convex',true,'overlaps',false,'fulldim',true,'bounded',true)
PolyUnion in the dimension 2 with 3 polyhedra. Properties of the union: Convex: 1 Overlaps: 0 Connected: 1 Bounded: 1 FullDim: 1 Functions : noneMerge the polyhedra back.
U.merge
PolyUnion in the dimension 2 with 1 polyhedra. Properties of the union: Convex: 1 Overlaps: 0 Connected: 1 Bounded: 1 FullDim: 1 Functions : nonePlot the merged union
U.plot
◀ | plus | join | ▶ |
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk
© 2005 Frank J. Christophersen: ETH Zurich , fjc@control.ee.ethz.ch
© 2005 Tobias Geyer: ETH Zurich , geyer@control.ee.ethz.ch