FLofCVL
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FL/Facet Lists
Introduced first in SolidGeometry 2.7, Creation date: 2015-10-04, Last change: 2025-09-14
returns the faces for a tube-style vertex list
Description
This function is used in SGsphere. Does work with one PL. Analyzes itself the z-values.
The function expects a sorted vertex list consisting of several succeeding polygon point list with different z-values. If just the VL is input argument, the function analyzes the z-values and reconstructs based on same z-values different levels and creates the outer walls between those polygons.
Example Illustration
Syntax
[FLB,FLW,FLT,CiL,ni]=FLofCVL(VL,[ni,at,tt])
Input Parameter
VL: | | Vertex list |
ni: | | Optional size list |
at: | | optional assignment type; default is 'number' |
tt: | | optional turning type; default is 'none' |
Output Parameter
FLB: | | Facet list of the walls |
FLW: | | Facet list of the bottom |
FLT: | | Facet list of the cover |
CiL: | | CiL |
ni: | | size list |
Examples
VL=[]; for i=1:10; VL=[VL;VLaddz(PLstar(10,10),3*i)]; end; FLofCVL(VL);
VL=[]; for i=1:10; VL=[VL;VLaddz(PLkidney(10,12+i/3,pi/4+i*pi/10),3*i)]; end; FLofCVL(VL);
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