Insert set to Union object.
U = add(U,Set)
U.add(Set)
U |
The object of the Union class. Class: Union |
Set |
A convex set derived from ConvexSet class. Class: ConvexSet |
U |
Union of the sets. Class: Union |
U = Union
Empty Union.Insert random polyhedron inside the union.
U.add(ExamplePoly.randHrep);The union now consist of one set.
U.Set, U.Num
ans = [1x1 Polyhedron] ans = 1
x = sdpvar(2,1);
F = [0<= x <= 1];
Y = YSet(x,F);Define Polyhedron object.
P = Polyhedron('lb',[2;0],'ub',[3;3])
Polyhedron in R^2 with representations: H-rep (redundant) : Inequalities 4 | Equalities 0 V-rep : Unknown (call computeVRep() to compute) Functions : noneCreate the union
U = Union(Y); U.add(P)
Union of 2 convex sets. Functions : noneEmpty polyhedron object is not added
U.add(Polyhedron)
Union of 2 convex sets. Functions : none
◀ | contains | display | ▶ |
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch