Syntax
[h,hp,pins,pnv]=uipolygonselect(p)
Input Parameter
p : | | explicit point or use cursor position if p is empty |
Output Parameter
h : | | handle of relative polygons |
hp : | | handle of all polygons |
pins : | | polygons in which p is located |
pnv : | | polygons, pi is near a vertex |
Examples
SGfigure; CPLplotasPS(CPLsample(14));
uipolygonselect([10 -20]) % nothing to select
uipolygonselect([10 -2]) % inside
uipolygonselect % Checks current cursor position
ginput(1); uipolygonselect % asks first for crosshair selction
Copyright 2018-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21