isFullDim

Purpose

Test if the union is built from full-dimensional polyhedra.

Syntax

ts = U.isFullDim
ts = isFullDim(U)

Description

Return true if all polyhedra in the union U are full-dimensional and false otherwise. Once this method has been called, the information about the full-dimensionality can be retrieved from U.Internal.FullDim property.

Input Arguments

U

Union of polyhedra in the same dimension.

Class: PolyUnion

Output Arguments

ts

True if all polyhedra in the union are full-dimensional and false otherwise.

Class: logical

Allowed values:

  • true
  • false

Example(s)

Example 1

Union of full-dimensional and low-dimensional polyhedron.
P(1) = Polyhedron('lb',[0;0],'ub',[1;1]);

P(2) = Polyhedron('lb',[0;0],'ub',[0;1]); 
 Create union 
 U = PolyUnion(P) 
PolyUnion in the dimension 2 with 2 polyhedra.
Functions : none
Check if the union is full-dimensional
 U.isFullDim 
ans =

     0

The full-dimensionality property can be retrieved from
 U.Internal.FullDim 
ans =

     0

See Also

isconvex, isoverlapping, isconnected, isbounded


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