Syntax
h=SGTplotalpha(SG,[c,a,e,relSG,relpos])
Input Parameter
SG : | | SOlid Geometry |
c : | | color; default is []; |
a : | | alpha value; default is 1; |
e : | | edge color; default is []; |
relSG : | | Solid as Position reference |
relpos : | | relative positioning like SGtransrelSG |
Output Parameter
h : | | handle to graphics object patch |
Examples
SGfigure; view(-30,30); SGTplotalpha(SGcylinder(10,20,6),'b',.2);
SGfigure; view(-30,30); SGTplotalpha(SGcylinder(10,20,6),'b',.2,'r');
SGfigure; view(-30,30); SGTplotalpha({SGbox,SGcylinder(5)},'r',0.4,'g'); shg
SGfigure; view(-30,3); SGTplotalpha(SGbox,'r',1,'',SGbox,'ontop',20); shg
Copyright 2020-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