Syntax
[SG,ViL,FiL,FNL,FoL]=SGofVLtrans(VL,T,[TS,comp])
Input Parameter
VL : | | Vertex list (nx3) or (nx2) |
T : | | required translation; if scalar the t==>t=[0 0 t]; |
TS : | | transformation of the solid afterwards; default is []; |
comp : | | compensates the contraction for phi-x or phi-y; default is false |
Output Parameter
SG : | | Solid geoemtry |
ViL : | | Vertex index list for the surface |
FiL : | | Facet index list for the base and tranformed contour |
FNL : | | facet normal list for the base and transformed contour |
FoL : | | Facet index list for the outside shell of the solid |
Examples
SGofVLtrans(PLcircle(10,4),[rotdeg(0,0,45),[0 ;0 ;40]]) % rotz-45 and t=40
SGofVLtrans(PLcircle(10,4),-30); % z=-30
Copyright 2015-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