CPLofspokedPL

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

converts a point list into a spokes between the most distance points



See Also: CPLrack4PL , CPLrackPLdelaunay , SGwheelspoked

Example Illustration

 missing image of CPLofspokedPL(PL,wt,rd,CPLA)

Syntax

CPL=CPLofspokedPL([PL,wt,rd,CPLA])

Input Parameter

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

Output Parameter

CPL: resulting CPL

Examples


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));




Copyright 2022-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