facetInteriorPoints

Purpose

Compute points that lie on each of the facet of the Polyhedron.

Syntax

x = P.facetInteriorPoints
x = facetInteriorPoints(P)

Description

For each of the facet of the polyhedron compute a point in the relative interior of that facet. The output is a matrix formed by concatenating the interior point row-wise. Note that the polyhedron must be in the minimal H-representation in order to proceed.

Input Arguments

P

Polyhedron in any format.

Class: Polyhedron

Output Arguments

x

Matrix formed by interior points where the row of the matrix corresponds to facet of the polyhedron.

Class: double

Example(s)

Example 1

Compute all facet interior points of a zonotope Z.
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); 

../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/facetinteriorpoints_img_1.png

See Also

chebycenter, interiorpoint


© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch

© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch