ELomitVLEL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 1.0, Creation date: 2013-01-08, Last change: 2025-09-14

returns an edge list that omits edges of same direction of MULTI CONTOUR EDGE LIST

Description

Some procedures generate edge lists based on grid structures. Nevertheless, for a polygonal description, often not all edges are required. This function cuts out edges that have the same direction.
This functions is more stable than ELomitedgesVLEL

See Also:

Example Illustration

 missing image of ELomitVLEL(VL,EL)

Syntax

EL=ELomitVLEL(VL,EL)

Input Parameter

VL: Vertex list
EL: Edge List, must be sorted

Output Parameter

EL: New Edge list, maybe shorter




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

Algorithm (Workflow)

This function, ELomitVLEL, is designed to process edge lists derived from grid structures and remove unnecessary edges that have the same direction, resulting in a more concise polygonal description.

Input Parameters

Output

Algorithm Steps

  1. Initialize ELN as a zero matrix with the same size as EL and set nn to 0.
  2. Determine the contour index list CIL from EL using the function CILofEL.
  3. Iterate over each contour index in CIL:
  4. Adjust the length of ELN to include only the relevant edges.
Algorithm explaination created using ChatGPT on 2025-08-19 07:38. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21