by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
Introduced first in SolidGeometry 5.1, Creation date: 2021-09-14, Last change: 2025-09-15
SGcastplot(SGO,TTO,Name,[cols])
SGO: | Cell list of objects | |
TTO: | type of cell entry; if empty SGcast is used | |
Name: | optinal name as subplot title | |
cols: | color string |
SGcast
C=SGcylinder; C.FIL=FSselect(SGcylinder,[0 0 1],0.1)
CVL=VLtransR(VLaddz(PLcircle(10)),rot([pi/3,pi/3,pi/3]));
SGfigure; SGcastplot({SGbox,SGcylinder(10),PLcircle(10)})
SGfigure; SGcastplot({SGbox,SGcylinder(10),PLcircle(10)},'','test')
SGfigure; SGcastplot({SGbox,SGcylinder(10),PLcircle(10),eye(4),C,CVLsample(18)},'','test')
SGfigure; SGcastplot({SGbox,SGcylinder(10),PLcircle(10),eye(4),C,CVLsample(18)},'','test','m--',0.1)