Syntax
[VL,FL,FLW,FLU,FLO]=VLFLofPLELz(PL,EL,z)
Input Parameter
PL : | | Point list in 2D |
EL : | | Edge list |
z : | | Height z can be scalar or [zmin zmax] |
Output Parameter
VL : | | Vertex list |
FL : | | Facet list |
FLW : | | Facet list of the wall |
FLU : | | Facet list of the floor |
FLO : | | Facet list of the ceiling |
Examples
Generate a simple linkage:
PL=[0 0;80 0;80 30;0 30;10 10;20 10; 20 20; 10 20;60 10;70 10;70 20; 60 20];
EL=[1 2;2 3;3 4;4 1;6 5;7 6;8 7;5 8;10 9;11 10;12 11;9 12];
[VL,FL]=VLFLofPLELz (PL,EL,5); SGfigure; VLFLplot (VL,FL); view(-30,30); VLFLwriteSTL (VL,FL)
Copyright 2013-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