CLmissingedgesVLFL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analyzing function
Introduced first in SolidGeometry 1.0, Creation date: 2012-11-03, Last change: 2025-09-14

returns missing edges of open facets

Description

This procedure is used to find and close open facets by analyzing missing edges. It finds edges that are used only in one direction and not in the opposite direction. For those, the missing edges in opposite direction are generated here. The edges are linked to contours to be processed one by one afterwards. CLdecomposecontoursVLCL separates the contours which are not planar in planar contours.

See Also: CLmissingedgesVLFL , CLdecomposecontoursVLCL , FLclosecontoursVLCL

Example Illustration

 missing image of CLmissingedgesVLFL(VL,FL)

Syntax

[MEL,CIL,n]=CLmissingedgesVLFL(VL,FL)

Input Parameter

VL: Vertex list
FL: Facet list

Output Parameter

MEL: Missing edge list
CIL: Contour index list (COL 1: start index, COL2: end index)
n: size(CIL,1)

Examples

Simple Box
[VL,FL]=VLFLbox(10,10,10); % Generate Box
FL=FL(1:end-4,:); % Remove 4 Facets
[AMELS,CIL,nme]=CLmissingedgesVLFL (VL,FL); % Search for missing edges
VLELplot (VL,AMELS,'m'); % plot the missing edges




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

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