VLFLELplot

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
Introduced first in SolidGeometry 1.0, Creation date: 2012-05-01, Last change: 2025-09-14

plots an edge list and all attached facets of the edges

Description

This procedure can be used to plot the problematic edge list of VLFLchecker.

Example Illustration

 missing image of VLFLELplot (VL,FL,PEL)

Syntax

VLFLELplot(VL,FL,PEL)

Input Parameter

VL: Vertex list
FL: Facet list
PEL: Edge list

Examples

Plot non manifold edges of a solid (VLFL)
[VLC,EL,PEL]=VLFLchecker (VL,FL);
VLFLELplot (VL,FL,PEL);




Copyright 2012-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, VLFLELplot, is designed to visualize an edge list and all associated facets of the edges. It is part of the SG-Library and was created by Tim Lueth in May 2012. The function is particularly useful for plotting problematic edge lists identified by the VLFLchecker.

Input Parameters

Algorithm Steps

  1. Determine the number of edges in the edge list PEL using size(PEL,1) and store it in np.
  2. Enable the hold on state for the current plot to allow multiple plots on the same figure.
  3. Iterate over each edge in PEL (from 1 to np):
  4. For each edge, determine which facets in FL contain both vertices of the edge:
  5. Plot the facets associated with the current edge using the VLFLplot function, with the facets colored magenta ('m').
  6. Adjust the plot axes to be automatic and equal using axis auto and axis equal.
Algorithm explaination created using ChatGPT on 2025-08-18 22:58. (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