Syntax
NCPL=CPLorder(CPL,[smax])
Input Parameter
CPL : | | Closed Polygon List (including NaN) |
smax : | | max if true, min if false; default is false |
Output Parameter
NCPL : | | Ordered closed polygon list |
Examples
CPLsample(11); CPL=ans;
CPLo=CPLunsort(CPLo);
CPL=CPLo; SGfigure(0,90); CPLplotcwccw(CPL); textCPL(CPL); % Original
CPL=CPLorder(CPLo); SGfigure(0,90); CPLplotcwccw(CPL); textCPL(CPL); % CPLorder
Copyright 2014-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