Computes the convex hull for union of polyhedra
H = U.convexHull
H = convexHull(U)
U |
Union of polyhedra in the same dimension. Class: PolyUnion |
H |
Convex hull of the polyhedra contained in the union Class: Polyhedron |
P(1) = 5*ExamplePoly.randVrep;
P(2) = 5*ExamplePoly.randVrep;Create the union of polyhedra without specifying any properties.
U = PolyUnion('Set',P)
PolyUnion in the dimension 2 with 2 polyhedra. Functions : noneCompute the convex hull
H = U.convexHull
Polyhedron in R^2 with representations: H-rep (irredundant) : Inequalities 6 | Equalities 0 V-rep (irredundant) : Vertices 6 | Rays 0 Functions : nonePlot the union and the convex hull
U.plot; hold on; H.plot('wire',true,'linewidth',3,'linestyle','--')
◀ | polyunion | reduce | ▶ |
© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch