VLFLfusedoubledvertices

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - VLFL/Surfaces
Introduced first in SolidGeometry 5.5, Creation date: 2025-08-12, Last change: 2025-09-15

fuses vertices with similar positions, shortens the VL, but the number of facets remains unchanged.

Description

This function probably already exists in several places, but as of 2024a/b, the behavior of delaunayTriangulation has changed and bugs occur in SGremsurfedgepoints, which makes it necessary to examine the individual steps in detail.

See Also: VLFLshort , SGfusedoubledvertices

Example Illustration

 missing image of VLFLfusedoubledvertices(VL,FL,thr)

Syntax

[NVL,NFL]=VLFLfusedoubledvertices(VL,FL,[thr])

Input Parameter

VL: Vertex list
FL: Facet list
thr: Threshold für round(VL,thr); default is 1e-17 DO NOT USE DIGITS

Output Parameter

NVL: New vertex list
NFL: New facet list

Examples


A=SGlinkage(5,30,5); model=pdemodelofSG(A,1); SGofpdemodel(model); B=ans
VLFLfusedoubledvertices(B.VL,B.FL,0.1); % even with 0.1mm no change
VLFLfusedoubledvertices(B.VL,B.FL,1); % with 1mm changes and non manifold problems




Copyright 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