by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.1, Creation date: 2022-01-13, Last change: 2025-09-15
See Also: CPLrack4PL
, CPLrackPLdelaunay
, SGwheelspoked
CPL=CPLofspokedPL([PL,wt,rd,CPLA])
PL: | Point list | |
wt: | Radius = half spoke thickness | |
rd: | Radius to avoid notch effect inside; default is 0.5 | |
CPLA: | optional contour of a shaft or axis |
CPL: | resulting CPL |
CPLofspokedPL(60*rand(10,2),1); % standard graffitty of the 2010th years
CPLtextimage('TL');PL=ans; pause(1); CPLofspokedPL(woNaN(PL),.1);
CPLtextimage('T');PL=ans; pause(1); CPLofspokedPL(woNaN(PL),.1);
CPLofspokedPL(PLsquare(50,50),1,2);
CPLofspokedPL(PLcircle(50,10),1,2);
CPLofspokedPL(PLcircle(50,20),1,2);
CPLofspokedPL(PLcircle(50,10),1);
CPLofspokedPL(PLcircle(50,20),1);
CPLofspokedPL(PLcircle(50,6),2,'',PLwrench(6)); % Make space for an shaft or axis
CPLofspokedPL(PLcircle(50,6),2,'',PLwrench(12));