Ttransrel

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Spatial Relations
Introduced first in SolidGeometry 5.2, Creation date: 2022-06-15, Last change: 2025-09-15

language based fnct for spatial arrangement of frames

Description

important language concept. First started as ToftransrelSG in 2020-12-12
currently supported is
'rotz, roty, 'flip','flipy', rotx, transz, transy, transx, attachz'

SGtransrelSG, CPLtransrelCPL, Ttransrel
==> create movements relative to another class instance

SGtransrelT, CPLtransrelT
==> make movements of relative to TA into relative to TB

Tofchar and TofPez('',ezofchar())
==> create frames

See Also: SGtransrelSG , CPLtransrelCPL , Tofchar , ezofchar

Example Illustration

 missing image of Ttransrel(T,comsequ,

Syntax

[T,k]=Ttransrel([T,comsequ,"debug"])

Input Parameter

T: Frame to translate/rotate
comsequ: commandsequence such as 'rotz',pi/3,'tranz',5
"debug": if used; the indiviual sequences are plotted

Output Parameter

T: resulting Frame
k: number of transformations made

Examples


Ttransrel(eye(4),'rotz',pi/10,'transz',5,'rotx',-pi/10,'transz',-5,'debug')




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