ELreconnect

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - EL/Edge Lists
Introduced first in SolidGeometry 1.1, Creation date: 2013-08-16, Last change: 2025-09-14

resorts a valid but broken and recompiled edge list

Description

Powerful fuction!
Since 2015 there is a digraph class in Matlab. Therefor this function may become obsolete since ELofELmesh supports also meshes not only contours. Powerful recursive procedure. If this function fails by recursion, it is not a problem of the function, but of the list. This functions has to be reprogrammed as not recursive soon
Nevertheless, large problematic lists can crash Matlab. Please use set(0,'RecursionLimit',3000)

See Also: ELconnectedgroups , ELofELmesh , PLELconcat

Example Illustration

 missing image of ELreconnect(EL,GPL)

Syntax

[EL,CIL,k]=ELreconnect(EL,[GPL])

Input Parameter

EL: broken edge list
GPL: Only for graphical output required if nargout==0

Output Parameter

EL: Edge list
CIL: Contour index list
k: number of changes required




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