VLFLofTR

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - TR/Tetrahedrons
Introduced first in SolidGeometry 2.0, Creation date: 2014-12-22, Last change: 2025-09-14

returns the freeboundary surface of a tetrahedron or the surface of a triangulation

Description

Returns the surface model (VL,FL) from a tetrahedron volume model by using freeBoundary. If the triangulation is a surface model, the ConnectivityList is returned.

Example Illustration

 missing image of VLFLofTR(TR)

Syntax

[VL,FL]=VLFLofTR(TR)

Input Parameter

TR: Triangulation (nx4 or nx3)

Output Parameter

VL: Vertex List (Point List)
FL: Facet List (ConnectivityList or freeBoundary)

Examples


[VL,FL]=VLFLofTR(exp_2014_12_23 (SGsample(16))); close all; VLFLfigure; view(-30,30); VLFLplots(VL,FL);




Copyright 2014-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, VLFLofTR, is designed to generate the surface model from a tetrahedron volume model, which can be used for writing an STL file. It is part of the SG-Library and was created by Tim Lueth on December 22, 2014.

Input Parameters

Output Results

Algorithm Steps

  1. Assign the points from the triangulation TR to the variable VL.
  2. Check the size of the second dimension of TR.ConnectivityList:
  3. If no output arguments are specified (nargout==0), perform the following:
Algorithm explaination created using ChatGPT on 2025-08-18 23:32. (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