TLvaryfrom
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.2, Creation date: 2022-04-19, Last change: 2025-09-15
this fnct takes a frame list and adds small values to the position and orientation
Description
The set of fnctns
VLvaryfrom, PLvaryfrom, TLvaryfrom, SGvaryfrom
tries to compensate the weakness of the boolean operations in
combination with the weakness of 64 Bit numeric and the weakness of the
delaunay implementation of matlab.
this fnctn takes a frame list and adds small values to the position and orientation to avoid problems with boolean operations!
Helpful in combination with SGunion, SGsubtract and SGsubtractnaddTL
See Also: TcopyVLez
, TLofPL
, SGsubtractnaddTL
Example Illustration
Syntax
TLN=TLvaryfrom(TL,[dd,rr])
Input Parameter
TL: | | Frame list |
dd: | | [dx dy dz] = default is [1 1 1]/1234 |
rr: | | [wx wy wz]; default is [1 1 1]*34/14333
|
Output Parameter
Examples
A=SGTremove(SGbox); SGfigure (-30,30); SGplotalpha(A,'w',0.9);
[~,~,TL]=CPLofSGTez(A,[0 0 1],[4 1 2],'style','grid'); tplot(TL,0); shg
SGsubtractnaddTL(A,SGcylinder(1,[-2 2]),TL)
SGsubtractnaddTL(A,SGcylinder(1,[-2 2]),TLvaryfrom(TL))
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