Home > mpt > extras > auxiliary > mousepoly.m

mousepoly

PURPOSE ^

MOUSEPOLY Allows to specify polytope by mouse-clicks

SYNOPSIS ^

function P = mousepoly(box)

DESCRIPTION ^

MOUSEPOLY Allows to specify polytope by mouse-clicks

 P = mousepoly(box)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Click on the figure to pick up points in 2D. When a right-mouse button is
 pressed, convex hull of given points is calculated and returned as a
 polytope object
 
 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 box    - range of the axis (10 by default)

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 P      - polytope object

 see also HULL

CROSS-REFERENCE INFORMATION ^

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