FLofVLFLvi
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FL/Facet Lists
Introduced first in SolidGeometry 4.9, Creation date: 2020-01-16, Last change: 2025-09-14
Facet List that contains entries of a vertex list
Description
This function can be used with vertex indices of the Solid given by VLFL
in nearest neighbor mode for any vertex list
Best is to call TR=triangulation(FL,VL); vi=nearestNeighbor(TR,vi); if vi ist a full vertex list
See Also: SGisInteriorofBB
, SGnearestpointsofSG
, FLofVLFLfi
, FSofSGfacet
Example Illustration
Syntax
[FL,fi3,fi2,fi1,fi0]=FLofVLFLvi(VL,FL,vi)
Input Parameter
VL: | | Vertex list |
FL: | | Facet List |
vi: | | vertex index list OR logical vi or vertex list for triangulation.nearestNeighbor |
Output Parameter
FL: | | FL(fi3,:); (GREEN) |
fi3: | | all faces that have three points of VL(vi,:) - green |
fi2: | | all faces that have 2 points of VL(vi,:) - yellow |
fi1: | | all faces that have 1 points of VL(vi,:) - magenta |
fi0: | | all faces that have 0 points of VL(vi,:) - red |
Examples
SG=SGboxsphere; FLofVLFLvi(SG.VL,SG.FL,[1 2 3 4])
SG=SGboxsphere; FLofVLFLvi(SG.VL,SG.FL,[1 2 3]);
SG=SGboxsphere; FLofVLFLvi(SG.VL,SG.FL,[1 2 3]*1.00001);
Copyright 2020-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