Syntax
EL=VLFLfreeboundary(VL,FL)
Input Parameter
VL : | | Vertex list or Solid Geoemtry |
FL : | | Facet List or empty |
Output Parameter
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, VLFLfreeboundary
, is designed to compute the free boundary of a solid geometry. It is part of the SolidGeometry library and was introduced in version 4.1. The function takes in a vertex list and a facet list, and returns an edge list representing the free boundary.
Input Parameters
- VL: Vertex List or Solid Geometry. This is a list of vertices that define the geometry of the solid.
- FL: Facet List or empty. This is a list of facets (triangles) that define the surface of the solid. If this parameter is empty, the function will return an empty edge list.
Output Results
- EL: Edge List. This is the list of edges that form the free boundary of the solid.
Algorithm Steps
- Check if the number of input arguments is greater than one and if the facet list
FL
is empty. If so, return an empty edge list.
- If
VL
is a solid geometry object, convert it to vertex and facet lists using the function VLFLofSG
.
- Suppress specific warnings related to triangulation using
warning('off','MATLAB:triangulation:PtsNotInTriWarnId')
.
- Create a triangulation object
TR
using the facet list FL
and vertex list VL
.
- Compute the free boundary of the triangulation using
freeBoundary(TR)
and store the result in EL
.
- Restore the previous warning state.
- If no output argument is specified, plot the geometry and its free boundary using various plotting functions such as
VLFLplot
and VLELplots
.
- If the edge list
EL
is empty, print a message indicating that no free boundaries were found.
Algorithm explaination created using ChatGPT on 2025-08-19 06:45. (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