SGfusedoubledvertices

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
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 , VLFLfusedoubledvertices

Example Illustration

 missing image of SGfusedoubledvertices(SG,thr)

Syntax

SGN=SGfusedoubledvertices(SG,[thr])

Input Parameter

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

Output Parameter

SGN: Solid with fused vertex list

Examples


A=SGlinkage(5,30,5); model=pdemodelofSG(A,1); SGofpdemodel(model); B=ans
SGfusedoubledvertices(B,0.1); % even with 0.1mm no change
SGfusedoubledvertices(B, 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