Syntax
[FL,NFL]=VLFLsmoothboundary(VL,FL,[al,lr,al2,be])
Input Parameter
VL : | | Vertex list |
FL : | | Facet list |
al : | | closing if edge angle is > al; default is pi/4 |
lr : | | leg length maximum ratio; default is 1.5 |
al2 : | | minimal angle value for closing; default is 0; |
be : | | required distance angle to parallel walls |
Output Parameter
FL : | | List of old and appended new facets |
NFL : | | List of New facets |
Examples
loadweb AAruffo_surf.mat % load some surface data sets
A=SG1; VLFLsmoothboundary(A.VL,A.FL);
A=SG1; VLFLsmoothboundary(A.VL,A.FL,0.01,1000,0,0); % Close all angles - too simple approach
A=SG1; VLFLsmoothboundary(A.VL,A.FL,0.01,1000,0,pi/1.3); % Close all angles if walls are straight
A=SG1; VLFLsmoothboundary(A.VL,A.FL,0.01,0,0,pi/1.3); % Close angles of similar size/wall straight
A=SG1; VLFLsmoothboundary(A.VL,A.FL,0,0,0.5,pi/1.3); % Avoid closing straight lines
A=SG1; VLFLsmoothboundary(A.VL,A.FL,0,-10,0.5,pi/1.3); % Close up tom 10mm leg length
Copyright 2018-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