Syntax
[NPL,NEL,NCPL]=PLELradialEdgesofCPL(CPL,[R,"open","closed"])
Input Parameter
CPL : | | open or closed point list in 2D or 3D |
R : | | maximum radius >0 ; default is 1 |
"open" : | | if used, the result will be an open path not a contour |
"closed" : | | if used, the result will a closed contour; this is default. |
Output Parameter
NPL : | | New Point list; with modified start point |
NEL : | | New edge list; |
NCPL : | | NEW CPL list; open or closed as defined |
Examples
PLELradialEdgesofCPL(VLaddz(CPLofPL(PLsquare)))
PLELradialEdgesofCPL(VLaddz(CPLofPL(PLsquare)),'open')
[a,b,c]=PLELradialEdgesofCPL(VLaddz(CPLsample(3))); SGfigure; VLplot(c,'b*-'); c
[a,b,c]=PLELradialEdgesofCPL(VLaddz(CPLsample(3)),'open'); SGfigure; VLplot(c,'b*-'); c
Copyright 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