Remove all functions that are associated to this set.
Set.removeAllFunctions
removeAllFunctions(Set)
Set |
Any object derived from the ConvexSet class, e.g. Polyhedron, YSet, ... Class: ConvexSet |
Set |
Modified object of ConvexSet class without the function handles. Class: ConvexSet |
P=ExamplePoly.randHrep;
P.addFunction(AffFunction([1,0],-1),'a')
Polyhedron in R^2 with representations: H-rep (redundant) : Inequalities 10 | Equalities 0 V-rep : Unknown (call computeVRep() to compute) Functions : 1 attached "a"
P.addFunction(AffFunction([-3,5],2),'b')
Polyhedron in R^2 with representations: H-rep (redundant) : Inequalities 10 | Equalities 0 V-rep : Unknown (call computeVRep() to compute) Functions : 2 attached "a", "b"The set contains now two functions. We can remove this functions at once with the following command
P.removeAllFunctions
Polyhedron in R^2 with representations: H-rep (redundant) : Inequalities 10 | Equalities 0 V-rep : Unknown (call computeVRep() to compute) Functions : none
◀ | removefunction | support | ▶ |
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch