SGmirrorTxy
by Tim Lueth and Yilun Sun, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.8, Creation date: 2019-09-03, Last change: 2025-09-14
mirrors a solid at the xy plane of a HT matrix
Description
based on a request of Yilun Sun, who implemented his own solution first.
Supports ez vectors as char 'x' with SGlib 5.1 and cells of SG
Since SG-lib 5.2 this function also mirrows frames
See Also: SGcopyrotZ
, SGcopyVL
, SGpatternXYZ
, SGpatternRotz
, ezofchar
Example Illustration
Syntax
SGmirrorTxy(SG,[T])
Input Parameter
SG: | | Solid Geometry |
T: | | HT matrix or ez vector of char |
Examples
SGtransP(SGbox,[40 40 40]); SG=ans; SGfigure(SG);
SGtransP(SGbox,[10 10 10]); SG=ans; SGfigure(SG);
SGmirrorTxy(SG,TofR(rot(pi/5,pi/5,pi/5)))
SGmirrorTxy(SG,TofR(eul2rotm([0,0,0],'XYZ')))
SGmirrorTxy(SG,TofR(eul2rotm([pi/2,0,0],'XYZ')))
Copyright 2019-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