Computes outer bounding box for the union of polyhedra
B = outerApprox(U)
B = U.outerApprox
U |
Union of polyhedra in the same dimension Class: PolyUnion |
B |
Bounding box ![]() Class: Polyhedron |
P(1) = Polyhedron('A',randn(9,2),'b',2*ones(9,1));
P(2) = Polyhedron('V',randn(9,2));Create the union without specifying the properties
U = PolyUnion(P);Compute the bounding box
B = U.outerApprox;Plot the sets such that the outer approximation is wired.
U.plot; hold on; B.plot('wire',true,'LineWidth',2)
◀ | le | isoverlapping | ▶ |
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch