Test if a union of polyhedra contains another union.
U1 >= U2
U1 |
Union of polyhedra in the same dimension. Class: PolyUnion |
U2 |
Union of polyhedra in the same dimension. Class: PolyUnion |
tf |
True if U1 >= U2 and false otherwise. Class: logical Allowed values:
|
rectangle = Polyhedron('lb',[0;0],'ub',[2;1]);
triangle = Polyhedron([3,0;4,4; 6,2]);
U1 = PolyUnion([rectangle, triangle]);
U1.plot
U2 = PolyUnion(Polyhedron('lb',[0;0]));
U2 >= U1
ans = 1
◀ | join | minus | ▶ |
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk