FLofoppositefacesofVLFL
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FL/Facet Lists
Introduced first in SolidGeometry 4.9, Creation date: 2020-01-20, Last change: 2025-09-14
returns the list of faces that have opposit facets within a bounding box
Description
This heuristic function uses VLFLoppositefaces on a facet reduced surface (SGreduceVLFL) to detect opposite faces, and uses later SGisInteriorofBB to detect all surfaces within this BB.
This allows to analyze even larger bone surfaces or other surface scanned solids
Current only ONE opposite face are is supported! The function is still slow because of SGisInteriorofBB
The function should later cut the narrow bride between femur an patella
See Also: SGnearestpointsofSG
, VLFLoppositefaces
Example Illustration
Syntax
si=FLofoppositefacesofVLFL(VL,FL,[dmax,redf])
Input Parameter
VL: | | Vertex list |
FL: | | Facet list |
dmax: | | maximal distance |
redf: | | number of reduced facet for first opposit faces check. default is 1000 |
Output Parameter
si: | | logical index of facets |
Examples
SG=SGsample(25)
FLofoppositefacesofVLFL(SG.VL,SG.FL);
FLofoppositefacesofVLFL(SG.VL,SG.FL,[1 2]);
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