Home > mpt > @polytope > slice.m

slice

PURPOSE ^

SLICE cuts a polytope (polytope array) at prespecified values

SYNOPSIS ^

function [Pcut, sliced] = slice(PA,cut_dim,cut_value)

DESCRIPTION ^

SLICE cuts a polytope (polytope array) at prespecified values

 [Pcut, sliced] = slice(PA,cut_dim,cut_value,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Orthogonal cut through a polytope (polytope array) at prespecified values.

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 PA             - polytope array               
 cut_dim        - vector of x-dimensions at which to cut
 cut_value      - vector of corresponding values at which to cut
                  if not given, cut is performed at zero values of respective
                  coordinates

 ---------------------------------------------------------------------------
 OUTPUT
 ---------------------------------------------------------------------------
 Pcut           - polytope array
 sliced         - indicies of polytopes for which the slice is fully
                  dimensional

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003