by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
Introduced first in SolidGeometry 5.0, Creation date: 2021-01-07, Last change: 2025-09-15
[Rmax,Rmin,CPLC]=rofCPLsweep(CPL,[rp,cp])
CPL: | Original contour | |
rp: | center point for rotation; default is [0 0] | |
cp: | optional center point if CPLC rotates independently |
Rmax: | Maximal Radius | |
Rmin: | Minimum Radius | |
CPLC: | Sweeped Contour |
rofCPLsweep (CPLsample(3)), % maximum of maximum distance
rofCPLsweep(CPLsample(3),[10 0]) % rotation mit fixed orientation
rofCPLsweep(CPLsample(3),[15 0]) % rotation mit fixed orientation
rofCPLsweep(CPLsample(3),[15 0],[0 0]) % rotation mit free rotating orientation
rofCPLsweep(PLcircle(8),[15 0],[0 0]) % rotation mit free rotating orientation
rofCPLsweep(PLcircle(8),[15 0],[1 0]) % rotation mit free rotating orientation
rofCPLsweep(PLcircle(8),[15 0],[2 0]) % rotation mit free rotating orientation