SGTget

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 2.8, Creation date: 2016-01-05, Last change: 2025-09-14

returns a named frame of a solid geometry

Description

returns the T transformation matrix for a named frame


See Also: SGTget , SGTset , SGTplot , SGTremove , SGTui , SGTsetBF , SGTrename

Example Illustration

 missing image of SGTget(SGN,N)

Syntax

[T,a]=SGTget(SGN,[N])

Input Parameter

SGN: Solid Geometry
N: Name of required Frame, or ez vector

Output Parameter

T: Frame matrix
a: index in Tname (Does work only in structs not in cells)

Examples

Return a previously set frame:
SG=SGbox([30,20,10]); SG=SGTset(SG,'A',TofDPhiH([3,6],pi/6,5)); SGT(SG);
SGTget(SG,'A')
SGTget(SGsample(40),[0 0 1]);




Copyright 2016-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