CVLfreeBoundaryVLFL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CVL/Closed Vertex Lists
Introduced first in SolidGeometry 4.0, Creation date: 2017-07-05, Last change: 2025-09-14

returns the CVL of the free boundary



See Also: , neighborsAngleSurface

Example Illustration

 missing image of CVLfreeBoundaryVLFL(VL,FL)

Syntax

[CVL,TR2]=CVLfreeBoundaryVLFL(VL,FL)

Input Parameter

VL: Vertex List, or Solid Geometry, or triangulation
FL: Facet list, if VL is Vertex list

Output Parameter

CVL: Closed vertex contour list
TR2: triangulation

Examples


loadweb JACO_robot.mat
SG=JC61; [NAL,NBL]=TR3neighborsAngle(SG); fi=neighborsAngleSurface(NAL,NBL,1,22000);
CVL=CVLfreeBoundaryVLFL(SG.VL,SG.FL(fi,:)); SGfigure; CVLplot(CVL,'--');
CV=separateNaN(CVL,10); CVLplot(CV,'-',3);




Copyright 2017-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, CVLfreeBoundaryVLFL, computes the closed vertex contour list (CVL) of the free boundary from a given vertex list (VL) and facet list (FL). It is part of the SolidGeometry library.

Input Parameters

Output Results

Algorithm Steps

  1. Check if VL is a Solid Geometry object using isSG(VL).
  2. If VL is a Solid Geometry, create a triangulation TR2 using VL.FL and VL.VL.
  3. If VL is not a Solid Geometry and only one argument is provided, assume VL is already a triangulation and assign it to TR2.
  4. If two arguments are provided, use VLFLselect(VL,FL) to select the appropriate vertex and facet lists, then create a triangulation TR2 using these lists.
  5. Compute the free boundary edges EL of the triangulation TR2 using freeBoundary(TR2).
  6. Generate the closed vertex contour list CVL from the points and edges using CPLofPLEL(TR2.Points,EL).
  7. If no output is requested (nargout==0), plot the triangulation and the contour using SGfigure, VLFLplot, and CVLplot.
Algorithm explaination created using ChatGPT on 2025-08-19 01:07. (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