FLofTetrahedron

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FL/Facet Lists
Introduced first in SolidGeometry 1.0, Creation date: 2012-07-15, Last change: 2025-09-14

returns the triangles of a tetrahedron list

Description

DelaunayTri uses tetrahedrons as internal representation instead of triangles. To get the outer triangle facets of a tetrahedron you can also use: [FL,VL]=freeBoundary(DelaunayTri(VL(:,1),VL(:,2),VL(:,3)));

Example Illustration

 missing image of FLofTetrahedron(FL4,allf)

Syntax

[FL,FLA]=FLofTetrahedron(FL4,[allf])

Input Parameter

FL4: Tetrahedron list from DelaunayTri
allf: true = all facets, false = outside facets

Output Parameter

FL: Outer facet list
FLA: All facets of the tetrahedrons

Examples

Show the tetrahedrons of a cube generated by vertices and Delaunaytri
[VL,FL]=VLFLbox(10,10,10);
dt=DelaunayTri(VL(:,1), VL(:,2), VL(:,3))
[FL,FLA]=FLofTetrahedron(dt.Triangulation);
app_2012_11_09 (VL,FLA)




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