VLFLfaceneighborswapangle

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
Introduced first in SolidGeometry 5.1, Creation date: 2021-04-09, Last change: 2025-09-15

returns and explains swapping decisions

Description

educational function for removing kinks
similar to VLFLfaceneighborswap

See Also: VLFLtrianglegeometry , VLFLfaceneighborswap

Example Illustration

 missing image of VLFLfaceneighborswapangle(VL,FL,fi,k,NN,w,A)

Syntax

[www,ci,i4]=VLFLfaceneighborswapangle(VL,FL,fi,[k,NN,w,A])

Input Parameter

VL: Vertex List
FL: Facet List
fi: face index to swap
k: index (1..3) to swap
NN: seeVLFLtrianglegeometry
w: see VLFLtrianglegeometry
A: see VLFLtrianglegeometry

Output Parameter

www: angle information
ci: used neigbor to fi == NN(fi,k)
i4: vertex index for new triangles

Examples


SG=SGbox;
VLFLfaceneighborswapangle(SG.VL,SG.FL,1)
VLFLfaceneighborswapangle(SG.VL,SG.FL,1,3)




Copyright 2021-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