Syntax
[VL,WL,DL]=VLsortC(VL,[d])
Input Parameter
VL : | | Original point list |
d : | | order same angle: 'outer' | 'inner'; default is 'inner' |
Output Parameter
VL : | | Sorted point list |
WL : | | Angle list |
DL : | | Distance list |
Examples
Show the difference of the order:
[VL,FL,CVL,CLL,NL,PL]=exp_2012_04_09 ('',1,0,0);
A=sortrows(CVL,[1,2,3]); % unsorted list
VLplot (A,'r-'), hold on % show the unsorted list
VLplot (VLsortC(A),'b-') % outer points first
VLplot (VLsortC(A,'inner'),'k.-') % inner points first
Copyright 2012-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