Syntax
[FL,v,A]=FLofUL(UL,n)
Input Parameter
UL : | | Union list of ULgenerate |
n : | | number of selected union |
Output Parameter
FL : | | Facet list of this union |
v : | | Normal vector |
A : | | Overall facet area |
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
Algorithm (Workflow)
This algorithm processes a Union List (UL) to extract a Facet List (FL) for a specified union, along with its normal vector and overall facet area.
Input Parameters
- UL: A matrix representing the Union List, which contains data about various unions.
- n: An integer representing the specific union to be selected from the Union List.
Output Results
- FL: The Facet List for the specified union, containing the vertices of the facets.
- v: The normal vector of the first facet in the list.
- A: The overall area of the facets in the specified union.
- IL: A logical index array indicating which rows in the Union List belong to the specified union.
Algorithm Steps
- Determine which rows in the Union List (UL) correspond to the specified union number (n) by checking the eighth column of UL. This is stored in the logical index array IL.
- Extract the rows from UL that correspond to the specified union using the logical index IL. This subset of UL is stored in FL.
- Extract the normal vector from the first row of the subset FL, specifically from columns 4 to 6.
- Extract the overall facet area from the first row of the subset FL, specifically from column 9.
- Trim the subset FL to only include the first three columns, which represent the vertices of the facets.
Algorithm explaination created using ChatGPT on 2025-08-19 00:11. (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