SGTset

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

sets or replaces a named frame of a solid geometry

Description

returns the updated SG including the new frame
see also function TofFS with example TofFS(SGsample(27),[0 0 1])


See Also: SGTget , SGTsetBFsimple , SGTsetBF , SGTplot , SGTremove , SGTui , TofFS , TofFSui

Example Illustration

 missing image of SGTset(SGN,N,T,TFiL)

Syntax

SGN=SGTset(SGN,N,[T,TFiL])

Input Parameter

SGN: Solid Geometry
N: Name of required Frame
T: 4x4 matrix of the Frame; if empty SGTui is called
TFiL: optional surface facet index that define the frame's surface

Output Parameter

SGN: Frame matrix

Examples

Set a HT Matrix
SG=SGbox([30,20,10]); SG=SGTset(SG,'A',TofDPhiH([3,6],pi/6,5)); SGT(SG)
TofFS(SGsample(27),[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