by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.1, Creation date: 2022-01-07, Last change: 2025-09-15
See Also: fourbarcollABGPL
[wint,AA,aint,cutw]=CPLcrossCPLpathlimit(CPLW,CPLE,TL0,[WW,lim])
CPLW: | Static Object | |
CPLE: | Moving Object | |
TL0: | List of Frames to move | |
WW: | List of corresponding values of | |
lim: | allowed area collision; default is 0 |
wint: | angle intervals with respect to WW | |
AA: | maximum intersection per interval in percent of CPLE | |
aint: | area at start of interval and end of interval | |
cutw: | cutting index |
PS=Posesample('Tiegel');
PS.CPLM=PLtrans1(PLsquare(50,150))+[100 0]; fourBarposesyntheses(PS,[1 2],[10 5 5]); PSN=ans;
[~,TL0,~,~,~,~,WW]=PLofFourbarcouplercurve(PSN,1);
CPLcrossCPLpathlimit (PSN.CPLW,PSN.CPLE,TL0,WW,0.01)
CPLcrossCPLpathlimit (PSN.CPLW,PSN.CPLE,TLofPL(PLcircle(100,100)),'',0.00)