Returns true if the set covered by unions of polyhedra U_1 is the same as the set covered by union U_2 and false otherwise.
ts = U1.eq(U2)
ts = U1 == U2
U1 |
Union of polyhedra in the same dimension. Class: PolyUnion |
U2 |
Union of polyhedra in the same dimension as U1. Class: PolyUnion |
ts |
True if U1 == U2 and false otherwise. Class: logical Allowed values:
|
P(1) = ExamplePoly.randHrep;
P(2) = ExamplePoly.randHrep('ne',1);
U1 = PolyUnion('Set',P,'Bounded',false)
PolyUnion in the dimension 2 with 2 polyhedra. Properties of the union: Bounded: 0 Functions : noneCreate a copy of this polyunion
U2 = U1.copy
PolyUnion in the dimension 2 with 2 polyhedra. Properties of the union: Bounded: 0 Functions : noneObviously, the polyunions cover the same space. We can verify that using equality test:
U1 == U2
ans = 1
◀ | display | feval | ▶ |
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch