SGTalignT

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

aligns two frame to have same ey-vectors by opposite ez vectors

Description

Function has been implemented as part of SGtransrelSG in 2016

See Also: SGtransT , SGTmatchT , SGtransrelSG

Example Illustration

 missing image of SGTalignT(SG,T,TM,az)

Syntax

SGN=SGTalignT(SG,[T,TM,az])

Input Parameter

SG: Solid Geometry
T: Frame or Frame name of SG
TM: eye(4) or new coordiante system to match
az: optional final turn around ez

Output Parameter

SGN: New Position of SG using SGtransT

Examples


SGbox; SG=ans; SGTalignT(SG,'Y-')
SGTalignT(SG,'Y-',TofPez([0 0 40],[0 -1 0]))




Copyright 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