Compute an irredundant V-representation of a polyhedron.
P.minVRep()
P |
Polyhedron in any format Class: Polyhedron |
V = [1 1; 1 1; 1 1; 1 0];
P = Polyhedron(V)
Polyhedron in R^2 with representations: H-rep : Unknown (call computeHRep() to compute) V-rep (redundant) : Vertices 4 | Rays 0 Functions : none
P.V
ans = 1 1 1 1 1 1 1 0Remove redundancies:
P.minVRep()
Polyhedron in R^2 with representations: H-rep : Unknown (call computeHRep() to compute) V-rep (irredundant) : Vertices 2 | Rays 0 Functions : none
P.V
ans = 1 1 1 0
[1] Fukuda: PolyFaq
◀ | affinemap | ne | ▶ |
© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk