Computes outer bounding hypercube of a polyhedron.
B = P.outerApprox
P.outerApprox
P |
Polyhedron. Class: Polyhedron |
B |
Bounding hypercube. Class: Polyhedron |
P = Polyhedron('A',randn(9,3),'b',ones(9,1),'Ae', randn(1,3),'be',0.5);Compute the bounding box
B = P.outerApprox;Plot the sets such that the outer approximation is wired.
P.plot; hold on; B.plot('wire',true,'LineWidth',3)
◀ | intersect | b | ▶ |
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk