CPLsubtractTLasSG

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.1, Creation date: 2022-02-03, Last change: 2025-09-15

collison based subtraction of moving contours

Description

Very powerful function for fourBarposelayering

See Also: layerspacerlength , CPLsubtract , CPLsubtractTL

Example Illustration

 missing image of CPLsubtractTLasSG(LLLL,subc,,

Syntax

LLLN=CPLsubtractTLasSG(LLLL,subc,[,"h","WCR","debug"])

Input Parameter

LLLL: cell list {CPL1, TL1, Level1; CPL2, TL2, Level; ...}
subc: contour index row of the contour that is reduced
"h": optional for for graphical output => height
"WCR": optional for for graphical output => list of angles
"debug": if used; the individual steps are plotted

Output Parameter

LLLN: List in which the cntour of subc ist modified by subtracting the colliding contour in the same layer

Examples


Posesample(10); PS=ans;
fourBarposesyntheses(Posesample(10),[2 3 4],[10 1 1]); PS=ans;
fourBarposeCPLmotion(PS,1); [PL0,TL0,wcr,TA1,TB1,TA0,TB0]=fourBarposeCPLmotion(PS,1);
CPLunionTL(PLcircle(5),TA1,PLsquare(5),TL0,2); CPLN=ans;
CPLsubtractTL(PLcircle(5),TA1,PLsquare(2),TL0,0.1); CPLN=ans;




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