Compute points that lie on each of the facet of the Polyhedron.
x = P.facetInteriorPoints
x = facetInteriorPoints(P)
P |
Polyhedron in any format. Class: Polyhedron |
x |
Matrix formed by interior points where the row of the matrix corresponds to facet of the polyhedron.
Class: double |
Z = ExamplePoly.randZono;
x = Z.facetInteriorPoints;Plot the points on the zonotope.
Z.plot; hold on; plot(x(:,1),x(:,2),'kx','MarkerSize',5,'LineWidth',3);
◀ | mldivide | getfacet | ▶ |
© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch