Test if a polyhedron has a non-empty interior.
tf = P.isFullDim
tf = isFullDim(P)
P |
Polyhedron in any format Class: Polyhedron |
tf |
true if the polyhedron ![]() Class: logical Allowed values:
|
Polyhedron('V', randn(30,5)).isFullDim
ans = 1
Polyhedron('V', randn(30,5), 'R', randn(2,5)).isFullDim
ans = 1Lower-dimensional polyhedra:
Polyhedron('V', [randn(10,2) zeros(10,1)]).isFullDim
ans = 0
Polyhedron('H', [rand(30,5) ones(30,1)], 'He', [randn(1,5) 0]).isFullDim
ans = 0
◀ | computevrep | shoot | ▶ |
© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch