CPLcrossCPLpathlimit

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

collision detection along a path in 2D



See Also: fourbarcollABGPL

Example Illustration

 missing image of CPLcrossCPLpathlimit(CPLW,CPLE,TL0,WW,lim)

Syntax

[wint,AA,aint,cutw]=CPLcrossCPLpathlimit(CPLW,CPLE,TL0,[WW,lim])

Input Parameter

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

Output Parameter

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

Examples


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)




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