Home > mpt > @polytope > intersect.m

intersect

PURPOSE ^

INTERSECT Intersection of 2 polytopes or polytope arrays

SYNOPSIS ^

function [R,fulldim] = intersect(P1,P2,Options)

DESCRIPTION ^

INTERSECT Intersection of 2 polytopes or polytope arrays

 R = intersect(P1,P2,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Returns normalized minimal representation of intersection of input
 arguments

 USAGE:
   R=intersect(P1,P2)
   R=intersect(P1,P2,Options)

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P1,P2   - Polytopes or polyarrays, where a polyarray is considered as 
           the union of polytopes

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 R - Polytope containing the intersection of input polytopes


 Note: INTERSECT and AND have different functionality.

 see also AND

CROSS-REFERENCE INFORMATION ^

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