FLseparate

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 2.0, Creation date: 2014-12-25, Last change: 2025-09-14

reorders the edge list (triangle, tetrahedron) to individual polygons, surfaces, solids

Description

In fact, just calls ELorder!
All edges, facets, tetrahedrons of a solid use the same points after using SGshort or SGcat. Therefor all tetrahedrons are linked by common surfaces, surfaces are linked by common edges, edges are linked by common points. This functions groups linked tetrahedrons, surfaces or edges by using three, two, one common points. By an additional parameter, it is possible ti chance this method.
ELorder (FL,2) connects facets that have a common edge! (default)
ELorder (FL,1) connects facets that have just one common points!
ELorder (FL,3) connects facets that have the same three common points!


See Also: ELorder , ELseparate , TLseparate , SGshort

Example Illustration

 missing image of FLseparate(FL,jv)

Syntax

[FLN,SIL]=FLseparate(FL,[jv])

Input Parameter

FL: edge list/facet list/tetrahedron list consisting of several solids
jv: optional number of common vertices that define a connection; default is size(EL,2)-1

Output Parameter

FLN: Reordered Facet List
SIL: Sorted Index List

Examples

Three methods to separate a tetrahedron
SGtetramesh(SGsample(25)); [~,VL,FL,TR]=SGtetramesh(SGsample(25));
tic; [~,n]=FLseparate(FL), toc




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

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